标签:class ima 配置 div idt ram php dia func
getAllPic: function (sel, $w, editor) { var me = this, arr = [], $imgs = $(sel, $w); $.each($imgs, function (index, node) { $(node).removeAttr("width").removeAttr("height"); // if (node.width > editor.options.initialFrameWidth) { // me.scale(node, editor.options.initialFrameWidth - // parseInt($(editor.body).css("padding-left")) - // parseInt($(editor.body).css("padding-right"))); // } //修改 var imgsrc = node.src.replace(window.location.protocol + ‘//‘ + window.location.hostname, ‘‘); return arr.push({ //修改 _src: imgsrc, src: imgsrc }); }); return arr; },
文件路径为/umeditor/dialogs/image
PHP版本umditor
标签:class ima 配置 div idt ram php dia func
原文地址:https://www.cnblogs.com/ilovepan/p/10100462.html