diff --git a/thirdparty/tinymce_ssmacron/editor_plugin_src.js b/thirdparty/tinymce_ssmacron/editor_plugin_src.js index d30bd634c..37ca34588 100644 --- a/thirdparty/tinymce_ssmacron/editor_plugin_src.js +++ b/thirdparty/tinymce_ssmacron/editor_plugin_src.js @@ -19,8 +19,8 @@ init : function(ed, url) { - // Register commands - ed.addCommand('mceInsertMacron', function() { + // Register commands + ed.addCommand('mceInsertMacron', function() { ed.windowManager.open({ file : url + '/macron.htm', width : 350 + parseInt(ed.getLang('advanced.charmap_delta_width', 0)), @@ -29,15 +29,14 @@ }, { plugin_url : url }); - }); + }) - // Register buttons - ed.addButton('ssmacron', { - title : 'Insert a Macron', - cmd : 'mceInsertMacron', - image : url + '/img/macron.png' - }); - + // Register buttons + ed.addButton('ssmacron', { + title : 'Insert a Macron', + cmd : 'mceInsertMacron', + image : url + '/img/macron.png' + }); } });