Sha256: 001acd9adae30217ce871c93feaef1b9a769c90d7c17376636a243424d69c8b9

Contents?: true

Size: 1.2 KB

Versions: 35

Compression:

Stored size: 1.2 KB

Contents

/**
 * Copyright (c) Tiny Technologies, Inc. All rights reserved.
 * Licensed under the LGPL or a commercial license.
 * For LGPL see License.txt in the project root for license information.
 * For commercial licenses see https://www.tiny.cloud/
 *
 * Version: 5.0.11 (2019-07-04)
 */
!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=function(e,n){e.focus(),e.undoManager.transact(function(){e.setContent(n)}),e.selection.setCursorLocation(),e.nodeChanged()},o=function(e){return e.getContent({source_view:!0})},n=function(n){var e=o(n);n.windowManager.open({title:"Source Code",size:"large",body:{type:"panel",items:[{type:"textarea",name:"code"}]},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:{code:e},onSubmit:function(e){t(n,e.getData().code),e.close()}})},c=function(e){e.addCommand("mceCodeEditor",function(){n(e)})},i=function(e){e.ui.registry.addButton("code",{icon:"sourcecode",tooltip:"Source code",onAction:function(){return n(e)}}),e.ui.registry.addMenuItem("code",{icon:"sourcecode",text:"Source code",onAction:function(){return n(e)}})};!function u(){e.add("code",function(e){return c(e),i(e),{}})}()}();

Version data entries

35 entries across 35 versions & 2 rubygems

Version Path
card-mod-tinymce_editor-0.15.5 public/plugins/code/plugin.min.js
card-mod-tinymce_editor-0.15.4 public/plugins/code/plugin.min.js
card-mod-tinymce_editor-0.15.3 public/plugins/code/plugin.min.js
card-mod-tinymce_editor-0.15.2.pre1 public/plugins/code/plugin.min.js
card-mod-tinymce_editor-0.15.1.1 public/plugins/code/plugin.min.js
card-mod-tinymce_editor-0.15.1 public/plugins/code/plugin.min.js
card-mod-tinymce_editor-0.15.0 public/plugins/code/plugin.min.js
card-mod-tinymce_editor-0.14.2 public/plugins/code/plugin.min.js
card-mod-tinymce_editor-0.14.1 public/plugins/code/plugin.min.js
card-mod-tinymce_editor-0.14.0 public/plugins/code/plugin.min.js
card-mod-tinymce_editor-0.13.4 public/plugins/code/plugin.min.js
card-mod-tinymce_editor-0.13.3 public/plugins/code/plugin.min.js
card-mod-tinymce_editor-0.13.2 public/plugins/code/plugin.min.js
card-mod-tinymce_editor-0.13.1 public/plugins/code/plugin.min.js
card-mod-tinymce_editor-0.13.0 public/plugins/code/plugin.min.js
card-mod-tinymce_editor-0.11.7 public/assets/tinymce/plugins/code/plugin.min.js
card-mod-tinymce_editor-0.12.0 public/assets/tinymce/plugins/code/plugin.min.js
card-mod-tinymce_editor-0.11.6 public/assets/tinymce/plugins/code/plugin.min.js
card-mod-tinymce_editor-0.11.5 public/assets/tinymce/plugins/code/plugin.min.js
card-mod-tinymce_editor-0.11.4 public/assets/tinymce/plugins/code/plugin.min.js