1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-12-10 07:42:29 +03:00

Added libs into project and fixed ol lists

This commit is contained in:
Dan Brown
2015-11-30 21:44:23 +00:00
parent 03096c2fcd
commit 3d9084816e
107 changed files with 2009 additions and 72 deletions

View File

@@ -0,0 +1 @@
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"}]})}})});