Browse Source

编辑器修改

xuchunyang 8 years ago
parent
commit
bc5ca014b7
2 changed files with 3 additions and 3 deletions
  1. 2 2
      js/ueditor/ueditor.all.js
  2. 1 1
      js/ueditor/ueditor.config.js

+ 2 - 2
js/ueditor/ueditor.all.js

@ -10012,14 +10012,14 @@ UE.plugins['defaultfilter'] = function () {
10012 10012
                        break;
10013 10013
                    case 'img':
10014 10014
                        //todo base64暂时去掉,后边做远程图片上传后,干掉这个
10015
                        if (val = node.getAttr('src')) {
10015
                       /* if (val = node.getAttr('src')) {
10016 10016
                            if (/^data:/.test(val)) {
10017 10017
                                node.parentNode.removeChild(node);
10018 10018
                                break;
10019 10019
                            }
10020 10020
                        }
10021 10021
                        node.setAttr('_src', node.getAttr('src'));
10022
                        break;
10022
                        break;*/
10023 10023
                    case 'span':
10024 10024
                        if (browser.webkit && (val = node.getStyle('white-space'))) {
10025 10025
                            if (/nowrap|normal/.test(val)) {

+ 1 - 1
js/ueditor/ueditor.config.js

@ -35,7 +35,7 @@
35 35
36 36
        //工具栏上的所有的功能按钮和下拉框,可以在new编辑器的实例时选择自己需要的重新定义
37 37
        , toolbars: [[
38
            'undo', 'redo', '|',
38
            'fullscreen', 'source', '|', 'undo', 'redo', '|',
39 39
            'bold', 'italic', 'underline', '|',
40 40
            'insertorderedlist', 'insertunorderedlist', '|',
41 41
            'justifyleft', 'justifycenter', 'justifyright', 'justifyjustify', '|',