Skip to content
Snippets Groups Projects
Commit 317d8e9c authored by Sigfried Arnold's avatar Sigfried Arnold
Browse files

add stateSelector to TYPO3 Link

parent 8a68e216
No related branches found
No related tags found
1 merge request!1Master
......@@ -116,7 +116,8 @@ var plugin = tinymce.PluginManager.add('typo3filemanager', function(editor, url)
title: 'TYPO3 Link',
icon: 'link',
shortcut: 'Ctrl+K',
onclick: openLinkDialog
onclick: openLinkDialog,
stateSelector: 'a[href]'
});
editor.addButton('typo3image', {
......@@ -133,7 +134,8 @@ var plugin = tinymce.PluginManager.add('typo3filemanager', function(editor, url)
prependToContext: true,
shortcut: 'Ctrl+K',
icon: 'link',
onclick: openLinkDialog
onclick: openLinkDialog,
stateSelector: 'a[href]'
});
editor.addMenuItem('typo3image', {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment