Commit 94ed15d2 authored by 黄奎's avatar 黄奎

页面修改

parent 666d1e8a
......@@ -9969,8 +9969,8 @@ var LocalStorage = UE.LocalStorage = (function () {
UE.plugins['defaultfilter'] = function () {
var me = this;
me.setOpt({
'allowDivTransToP':true,
'disabledTableInTable':true
'allowDivTransToP':false,
'disabledTableInTable':false
});
//默认的过滤处理
//进入编辑器的内容处理
......@@ -10014,13 +10014,13 @@ UE.plugins['defaultfilter'] = function () {
break;
case 'img':
//todo base64暂时去掉,后边做远程图片上传后,干掉这个
if (val = node.getAttr('src')) {
if (/^data:/.test(val)) {
node.parentNode.removeChild(node);
break;
}
}
node.setAttr('_src', node.getAttr('src'));
// if (val = node.getAttr('src')) {
// if (/^data:/.test(val)) {
// node.parentNode.removeChild(node);
// break;
// }
// }
// node.setAttr('_src', node.getAttr('src'));
break;
case 'span':
if (browser.webkit && (val = node.getStyle('white-space'))) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment