tinymce-editor/copy_this/modules/bla/bla-tinymce/plugins/oxgetseourl/plugin.js

26 lines
526 B
JavaScript
Raw Normal View History

2016-08-01 14:20:20 +02:00
/**
* 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
});
});