summaryrefslogtreecommitdiff
path: root/program/js/tinymce/plugins/code/plugin.min.js
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-06-18 20:44:19 +0200
committerAleksander Machniak <alec@alec.pl>2014-06-18 20:44:19 +0200
commit3e7536d653cb76351c60c3e40699612d618f1dc8 (patch)
tree4ab9ae7406dcbf4293347b7ccf8dc199b19e1402 /program/js/tinymce/plugins/code/plugin.min.js
parentd9e541c5fecfbaba784596ab0e345bfc3063d13e (diff)
Upgrade to TinyMCE 4.1.0
Diffstat (limited to 'program/js/tinymce/plugins/code/plugin.min.js')
-rw-r--r--program/js/tinymce/plugins/code/plugin.min.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/tinymce/plugins/code/plugin.min.js b/program/js/tinymce/plugins/code/plugin.min.js
index 9e7e89895..6aaecd9ac 100644
--- a/program/js/tinymce/plugins/code/plugin.min.js
+++ b/program/js/tinymce/plugins/code/plugin.min.js
@@ -1 +1 @@
-tinymce.PluginManager.add("code",function(e){function o(){e.windowManager.open({title:"Source code",body:{type:"textbox",name:"code",multiline:!0,minWidth:e.getParam("code_dialog_width",600),minHeight:e.getParam("code_dialog_height",Math.min(tinymce.DOM.getViewPort().h-200,500)),value:e.getContent({source_view:!0}),spellcheck:!1,style:"direction: ltr; text-align: left"},onSubmit:function(o){e.focus(),e.undoManager.transact(function(){e.setContent(o.data.code)}),e.selection.setCursorLocation(),e.nodeChanged()}})}e.addCommand("mceCodeEditor",o),e.addButton("code",{icon:"code",tooltip:"Source code",onclick:o}),e.addMenuItem("code",{icon:"code",text:"Source code",context:"tools",onclick:o})}); \ No newline at end of file
+tinymce.PluginManager.add("code",function(e){function o(){var o=e.windowManager.open({title:"Source code",body:{type:"textbox",name:"code",multiline:!0,minWidth:e.getParam("code_dialog_width",600),minHeight:e.getParam("code_dialog_height",Math.min(tinymce.DOM.getViewPort().h-200,500)),spellcheck:!1,style:"direction: ltr; text-align: left"},onSubmit:function(o){e.focus(),e.undoManager.transact(function(){e.setContent(o.data.code)}),e.selection.setCursorLocation(),e.nodeChanged()}});o.find("#code").value(e.getContent({source_view:!0}))}e.addCommand("mceCodeEditor",o),e.addButton("code",{icon:"code",tooltip:"Source code",onclick:o}),e.addMenuItem("code",{icon:"code",text:"Source code",context:"tools",onclick:o})}); \ No newline at end of file