Authored by 张帅

优化富文本

... ... @@ -194,7 +194,7 @@
initialFrameHeight: 200,
initialFrameWidth : "90%",
initialFrameHeight : 350,
retainOnlyLabelPasted:true,
removeFormatTags:'b,big,code,del,dfn,em,font,i,ins,kbd,q,samp,small,span,strike,strong,sub,sup,tt,u,var,h1,h2,h3,h4,h5',
toolbars: [[
'source', '|', 'undo', 'redo', '|','formatmatch','removeformat',
'bold', 'italic', 'underline','strikethrough','horizontal','|','paragraph', 'rowspacingtop',
... ... @@ -204,8 +204,11 @@
'imagenone', 'imageleft', 'imageright', 'imagecenter', '|', 'simpleupload', 'insertimage', 'help','fullscreen'
]],
elementPathEnabled : false,
catchRemoteImageEnable:false,
enableAutoSave:false,
enableContextMenu: false,
retainOnlyLabelPasted:true,
maximumWords:100000,
autoFloatEnabled:false
});
UE.Editor.prototype._bkGetActionUrl = UE.Editor.prototype.getActionUrl;
UE.Editor.prototype.getActionUrl = function(action) {
... ...
... ... @@ -219,7 +219,7 @@
initialFrameHeight: 200,
initialFrameWidth : "90%",
initialFrameHeight : 350,
retainOnlyLabelPasted:true,
removeFormatTags:'b,big,code,del,dfn,em,font,i,ins,kbd,q,samp,small,span,strike,strong,sub,sup,tt,u,var,h1,h2,h3,h4,h5',
toolbars: [[
'source', '|', 'undo', 'redo', '|','formatmatch','removeformat',
'bold', 'italic', 'underline','strikethrough','horizontal','|','paragraph', 'rowspacingtop',
... ... @@ -229,6 +229,10 @@
'imagenone', 'imageleft', 'imageright', 'imagecenter', '|', 'simpleupload', 'insertimage', 'help','fullscreen'
]],
elementPathEnabled : false,
catchRemoteImageEnable:false,
enableAutoSave:false,
enableContextMenu: false,
retainOnlyLabelPasted:true,
maximumWords:100000,
});
UE.Editor.prototype._bkGetActionUrl = UE.Editor.prototype.getActionUrl;
... ...