diff options
Diffstat (limited to 'data/stuff/tinymce-4.3.7/plugins/example')
-rw-r--r-- | data/stuff/tinymce-4.3.7/plugins/example/dialog.html | 8 | ||||
-rw-r--r-- | data/stuff/tinymce-4.3.7/plugins/example/plugin.min.js | 1 |
2 files changed, 0 insertions, 9 deletions
diff --git a/data/stuff/tinymce-4.3.7/plugins/example/dialog.html b/data/stuff/tinymce-4.3.7/plugins/example/dialog.html deleted file mode 100644 index 565f06f..0000000 --- a/data/stuff/tinymce-4.3.7/plugins/example/dialog.html +++ /dev/null @@ -1,8 +0,0 @@ -<!DOCTYPE html> -<html> -<body> - <h3>Custom dialog</h3> - Input some text: <input id="content"> - <button onclick="top.tinymce.activeEditor.windowManager.getWindows()[0].close();">Close window</button> -</body> -</html>
\ No newline at end of file diff --git a/data/stuff/tinymce-4.3.7/plugins/example/plugin.min.js b/data/stuff/tinymce-4.3.7/plugins/example/plugin.min.js deleted file mode 100644 index 88687c7..0000000 --- a/data/stuff/tinymce-4.3.7/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 |