ueditor 百度编辑器图片上传 接 node.js 及一些前端自定义

百度编辑器 用node.js 做服务端 demo 

大神已整理的 记录一下 以作参考

https://github.com/netpi/ueditor

1. 前端图片工具栏上传input file在这里:

搜索 ueditor.all.js文件里的 UE.plugin.register('simpleupload', function (){}

 2. 图片拖动大小在这里:

搜索 ueditor.all.js文件里的 

updateTargetElement: function () {
                var me = this;
                domUtils.setStyles(me.target, {
                    'width': me.resizer.style.width,
                    'height': me.resizer.style.height
                });
                me.target.width = parseInt(me.resizer.style.width);
                me.target.height = parseInt(me.resizer.style.height);
                me.attachTo(me.target);
            },

 3. 修复UEditor拖放大小的bug

https://blog.csdn.net/lee576/article/details/54406955

.

原文地址:https://www.cnblogs.com/xiangsj/p/8899478.html