mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
MINOR Saving TinyMCE editor focus in tinymce_ssbuttons plugin when sidepanel is opened (see #5263)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@101974 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
77718a05f0
commit
f3f129f44b
@ -39,6 +39,7 @@
|
||||
* If showCommand isn't set, then this will simply hide panels
|
||||
*/
|
||||
function showSidePanel(showCommand, hideCommands) {
|
||||
ed.ss_focus_bookmark = ed.selection.getBookmark();
|
||||
hideCommands.each(function(command) {
|
||||
ed.controlManager.setActive(command,false);
|
||||
Element.hide(forms[command]);
|
||||
@ -112,4 +113,4 @@
|
||||
|
||||
// Adds the plugin class to the list of available TinyMCE plugins
|
||||
tinymce.PluginManager.add("ssbuttons", tinymce.plugins.SSButtons);
|
||||
})();
|
||||
})();
|
Loading…
Reference in New Issue
Block a user