From 6fcfb7c04d32e1c8b26a312295bf7ac3ec2d2ad7 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 13 Jul 2018 19:06:45 +0200 Subject: Fixed many permissions and began admin interface --- public/bower_components/ckeditor/plugins/divarea/plugin.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 public/bower_components/ckeditor/plugins/divarea/plugin.js (limited to 'public/bower_components/ckeditor/plugins/divarea') diff --git a/public/bower_components/ckeditor/plugins/divarea/plugin.js b/public/bower_components/ckeditor/plugins/divarea/plugin.js new file mode 100644 index 0000000..1385547 --- /dev/null +++ b/public/bower_components/ckeditor/plugins/divarea/plugin.js @@ -0,0 +1,5 @@ +/* + Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved. + For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license +*/ +CKEDITOR.plugins.add("divarea",{afterInit:function(a){a.addMode("wysiwyg",function(c){var b=CKEDITOR.dom.element.createFromHtml('\x3cdiv class\x3d"cke_wysiwyg_div cke_reset cke_enable_context_menu" hidefocus\x3d"true"\x3e\x3c/div\x3e');a.ui.space("contents").append(b);b=a.editable(b);b.detach=CKEDITOR.tools.override(b.detach,function(a){return function(){a.apply(this,arguments);this.remove()}});a.setData(a.getData(1),c);a.fire("contentDom")})}}); \ No newline at end of file -- cgit v1.2.3