tinymce-editor/copy_this/modules/bla/bla-tinymce/plugins/oxgetseourl/plugin.js
2017-09-26 15:18:20 +02:00

26 lines
526 B
JavaScript
Executable File

/**
* fullscreen plugin adapted for oxids f*cking framesets
*
* Released under LGPL License.
* Copyright (c) 2016 Ephox Corp. All rights reserved
*
* inspired by fullscreen plugin by Ephox Corp:
* https://github.com/tinymce/tinymce/blob/master/js/tinymce/plugins/link/plugin.js
*/
/*global tinymce:true */
tinymce.PluginManager.add('oxgetseourl', function(editor) {
function showDialog() {
console.log("yolo");
}
editor.addButton('yolo', {
icon: 'link',
tooltip: 'yolo',
onclick: showDialog
});
});