|
@@ -339,6 +339,7 @@ function loadEditorParam(e)
|
|
|
if (!media) {
|
|
|
media = key;
|
|
|
}
|
|
|
+
|
|
|
var view = config.upload.replace('save', 'view');
|
|
|
var param = {
|
|
|
height : "400px",
|
|
@@ -362,7 +363,7 @@ function loadEditorParam(e)
|
|
|
'.font-weight', '.font-style', '.text-decoration', '.vertical-align', '.line-height'
|
|
|
],
|
|
|
div : [
|
|
|
- 'id', 'class', 'align', '.border', '.margin', '.padding', '.text-align', '.color',
|
|
|
+ 'id', 'class', 'data-id', 'data-key','.dever-video', 'align', '.border', '.margin', '.padding', '.text-align', '.color',
|
|
|
'.background-color', '.font-size', '.font-family', '.font-weight', '.background',
|
|
|
'.font-style', '.text-decoration', '.vertical-align', '.margin-left'
|
|
|
],
|
|
@@ -378,7 +379,8 @@ function loadEditorParam(e)
|
|
|
'.font-style', '.text-decoration', '.vertical-align', '.background', '.border'
|
|
|
],
|
|
|
a : ['id', 'class', 'href', 'target', 'name'],
|
|
|
- img : ['id', 'class', 'src', 'width', 'height', 'border', 'alt', 'title', 'align', '.width', '.height', '.border'],
|
|
|
+ embed : ['id', 'class', 'src', 'width', 'height', 'type', 'loop', 'autostart', 'quality', '.width', '.height', 'align', 'allowscriptaccess', 'wmode'],
|
|
|
+ img : ['id', 'class', 'data-id', 'data-key', 'src', 'width', 'height', 'border', 'alt', 'title', 'align', '.width', '.height', '.border'],
|
|
|
'p,ol,ul,li,blockquote,h1,h2,h3,h4,h5,h6' : [
|
|
|
'id', 'class', 'align', '.text-align', '.color', '.background-color', '.font-size', '.font-family', '.background',
|
|
|
'.font-weight', '.font-style', '.text-decoration', '.vertical-align', '.text-indent', '.margin-left'
|