PHP Classes

File: Application/Module/Core/Public/Js/tinymce/plugins/code/plugin.min.js

Recommend this page to a friend!
  Classes of Duong Huynh Nghia   Lego PHP   Application/Module/Core/Public/Js/tinymce/plugins/code/plugin.min.js   Download  
File: Application/Module/Core/Public/Js/tinymce/plugins/code/plugin.min.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Lego PHP
Blog and shopping cart system
Author: By
Last change:
Date: 7 years ago
Size: 751 bytes
 

Contents

Class file image Download
tinymce.PluginManager.add("code", function(a){function b(){var b = a.windowManager.open({title:"Source code", body:{type:"textbox", name:"code", multiline:!0, minWidth:a.getParam("code_dialog_width", 600), minHeight:a.getParam("code_dialog_height", Math.min(tinymce.DOM.getViewPort().h - 200, 500)), spellcheck:!1, style:"direction: ltr; text-align: left"}, onSubmit:function(b){a.focus(), a.undoManager.transact(function(){a.setContent(b.data.code)}), a.selection.setCursorLocation(), a.nodeChanged()}}); b.find("#code").value(a.getContent({source_view:!0}))}a.addCommand("mceCodeEditor", b), a.addButton("code", {icon:"code", tooltip:"Source code", onclick:b}), a.addMenuItem("code", {icon:"code", text:"Source code", context:"tools", onclick:b})});