- md5
- b7f3f7ecebe93ef81f1a340e533eb84e
- sha1
- ff0d296e2404ff0be0d8f62832af51b1eca7ad9a
- sha256
- af3b5a33ac3f9d8ab431a2edef892075515c530ed3382a4c3179ba637a077b62
tinymce.PluginManager.add("code",function(e){function t(){var t=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(t){e.focus(),e.undoManager.transact(function(){e.setContent(t.data.code)}),e.selection.setCursorLocation(),e.nodeChanged()}});t.find("#code").value(e.getContent({source_view:!0}))}e.addCommand("mceCodeEditor",t),e.addButton("code",{icon:"code",tooltip:"Source code",onclick:t}),e.addMenuItem("code",{icon:"code",text:"Source code",context:"tools",onclick:t})});
The same content is in 164 releases, Joomla 3.5.0-beta2 to 3.10.12. See them all, or every version of this file.