From 5511e44f8bf92addeaadc9ddcf39fb8e27f9c50c Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 16 Jul 2018 10:24:27 +0200 Subject: Fix tinymce reinit on ajax call --- chimere/static/tinymce/plugins/example/dialog.html | 8 -------- chimere/static/tinymce/plugins/example/plugin.min.js | 1 - 2 files changed, 9 deletions(-) delete mode 100644 chimere/static/tinymce/plugins/example/dialog.html delete mode 100644 chimere/static/tinymce/plugins/example/plugin.min.js (limited to 'chimere/static/tinymce/plugins/example') diff --git a/chimere/static/tinymce/plugins/example/dialog.html b/chimere/static/tinymce/plugins/example/dialog.html deleted file mode 100644 index 565f06f..0000000 --- a/chimere/static/tinymce/plugins/example/dialog.html +++ /dev/null @@ -1,8 +0,0 @@ - - - -

Custom dialog

- Input some text: - - - \ No newline at end of file diff --git a/chimere/static/tinymce/plugins/example/plugin.min.js b/chimere/static/tinymce/plugins/example/plugin.min.js deleted file mode 100644 index 88687c7..0000000 --- a/chimere/static/tinymce/plugins/example/plugin.min.js +++ /dev/null @@ -1 +0,0 @@ -tinymce.PluginManager.add("example",function(a,b){a.addButton("example",{text:"My button",icon:!1,onclick:function(){a.windowManager.open({title:"Example plugin",body:[{type:"textbox",name:"title",label:"Title"}],onsubmit:function(b){a.insertContent("Title: "+b.data.title)}})}}),a.addMenuItem("example",{text:"Example plugin",context:"tools",onclick:function(){a.windowManager.open({title:"TinyMCE site",url:b+"/dialog.html",width:600,height:400,buttons:[{text:"Insert",onclick:function(){var b=a.windowManager.getWindows()[0];a.insertContent(b.getContentWindow().document.getElementById("content").value),b.close()}},{text:"Close",onclick:"close"}]})}})}); \ No newline at end of file -- cgit v1.2.3