diff --git a/javascript/tinymce_ssbuttons/editor_plugin_src.js b/javascript/tinymce_ssbuttons/editor_plugin_src.js index 26bd9188..781e6fd5 100644 --- a/javascript/tinymce_ssbuttons/editor_plugin_src.js +++ b/javascript/tinymce_ssbuttons/editor_plugin_src.js @@ -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); -})(); +})(); \ No newline at end of file