Sha256: ee596bb9edf18998540b374295813fa0bdc88cdc7d2881c2e4fcbb60e35be5ce
Contents?: true
Size: 547 Bytes
Versions: 27
Compression:
Stored size: 547 Bytes
Contents
tinymce.PluginManager.add('alchemy_link', function(editor, url) { editor.addButton('alchemy_link', { icon: 'link', tooltip: 'Insert/edit link', shortcut: 'Ctrl+K', stateSelector: 'a[href]', onclick: function () { var link_object = { node: editor.selection.getNode(), bookmark: editor.selection.getBookmark(), selection: editor.selection, editor: editor }; var link_dialog = new Alchemy.LinkDialog(link_object); editor.focus(); link_dialog.open(); } }); });
Version data entries
27 entries across 27 versions & 2 rubygems