From 6825f83aba770eee7261050987bb6fe83ad86cdd Mon Sep 17 00:00:00 2001 From: Anyon Date: Thu, 12 Apr 2018 16:16:04 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E5=8E=BB=E9=99=A4=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E5=9B=BE=E7=89=87=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/plugs/ckeditor/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/plugs/ckeditor/config.js b/static/plugs/ckeditor/config.js index 1572676f4..76a825266 100644 --- a/static/plugs/ckeditor/config.js +++ b/static/plugs/ckeditor/config.js @@ -27,7 +27,7 @@ var field = '_editor_upload_' + Math.floor(Math.random() * 100000); var url = window.ROOT_URL + '/index.php/admin/plugs/upfile.html?mode=one&type=png,jpg,gif,jpeg&field=' + field; $('').attr('name', field).appendTo(editor.element.$).on('change', function () { - var element = CKEDITOR.dom.element.createFromHtml(''); + var element = CKEDITOR.dom.element.createFromHtml(''); editor.insertElement(element), $(this).remove(); }); $.form.iframe(url, '插入图片');