Skip to content
Snippets Groups Projects
Commit 74460d16 authored by Stefan Galinski's avatar Stefan Galinski :video_game:
Browse files

[FEATURE] Add stateSelector to the typo3 plugin for tinymce

parent 317d8e9c
No related branches found
No related tags found
1 merge request!1Master
......@@ -124,7 +124,8 @@ var plugin = tinymce.PluginManager.add('typo3filemanager', function(editor, url)
title: 'TYPO3 Image',
icon: 'image',
shortcut: 'Ctrl+L',
onclick: openImageDialog
onclick: openImageDialog,
stateSelector: 'img[src]'
});
// add the menu entries
......@@ -144,7 +145,8 @@ var plugin = tinymce.PluginManager.add('typo3filemanager', function(editor, url)
prependToContext: true,
shortcut: 'Ctrl+L',
icon: 'image',
onclick: openImageDialog
onclick: openImageDialog,
stateSelector: 'img[src]'
});
// initialize the shortcuts
......
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