diff options
author | Paul Duncan <pabs@pablotron.org> | 2016-04-03 03:29:32 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2016-04-03 03:29:32 -0400 |
commit | 50ac423f6e3be7566c1106647158e81b6eaae44a (patch) | |
tree | 5aeddba59f956528ef4e4715940441a1619394c0 /data/stuff/tinymce-4.3.7/plugins/example | |
parent | fda56e40b460ab06b6abee98ae1bc7d5f5847c9f (diff) | |
download | old-guff-50ac423f6e3be7566c1106647158e81b6eaae44a.tar.xz old-guff-50ac423f6e3be7566c1106647158e81b6eaae44a.zip |
remove tinymce
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 |