PHP Classes

File: public/js/tinymce/src/plugins/imagetools/src/main/js/Plugin.js

Recommend this page to a friend!
  Classes of Abed Nego Ragil Putra   GoLavaCMS   public/js/tinymce/src/plugins/imagetools/src/main/js/Plugin.js   Download  
File: public/js/tinymce/src/plugins/imagetools/src/main/js/Plugin.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: GoLavaCMS
Publish content on Web pages with SEO support
Author: By
Last change:
Date: 6 years ago
Size: 1,036 bytes
 

Contents

Class file image Download
/** * Plugin.js * * Released under LGPL License. * Copyright (c) 1999-2017 Ephox Corp. All rights reserved * * License: http://www.tinymce.com/license * Contributing: http://www.tinymce.com/contributing */ define( 'tinymce.plugins.imagetools.Plugin', [ 'ephox.katamari.api.Cell', 'tinymce.core.PluginManager', 'tinymce.plugins.imagetools.api.Commands', 'tinymce.plugins.imagetools.core.UploadSelectedImage', 'tinymce.plugins.imagetools.ui.Buttons', 'tinymce.plugins.imagetools.ui.ContextToolbar' ], function (Cell, PluginManager, Commands, UploadSelectedImage, Buttons, ContextToolbar) { PluginManager.add('imagetools', function (editor) { var imageUploadTimerState = Cell(0); var lastSelectedImageState = Cell(null); Commands.register(editor, imageUploadTimerState); Buttons.register(editor); ContextToolbar.register(editor); UploadSelectedImage.setup(editor, imageUploadTimerState, lastSelectedImageState); }); return function () { }; } );