X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=library%2Ftinymce%2Fjscripts%2Ftiny_mce%2Fplugins%2Fpagebreak%2Feditor_plugin_src.js;fp=library%2Ftinymce%2Fjscripts%2Ftiny_mce%2Fplugins%2Fpagebreak%2Feditor_plugin_src.js;h=a094c1916232c255df50247092aaa006c0ecea8f;hb=f55779fd831029f764c885bf1fd026a7e94f08eb;hp=4e1eb0a7aa26b31f9c80f4aedff6f515d448efd5;hpb=810e69ef0a88a959ce9f5358377cdc1c7d4bd53a;p=friendica.git diff --git a/library/tinymce/jscripts/tiny_mce/plugins/pagebreak/editor_plugin_src.js b/library/tinymce/jscripts/tiny_mce/plugins/pagebreak/editor_plugin_src.js old mode 100755 new mode 100644 index 4e1eb0a7aa..a094c19162 --- a/library/tinymce/jscripts/tiny_mce/plugins/pagebreak/editor_plugin_src.js +++ b/library/tinymce/jscripts/tiny_mce/plugins/pagebreak/editor_plugin_src.js @@ -11,7 +11,7 @@ (function() { tinymce.create('tinymce.plugins.PageBreakPlugin', { init : function(ed, url) { - var pb = '', cls = 'mcePageBreak', sep = ed.getParam('pagebreak_separator', ''), pbRE; + var pb = '', cls = 'mcePageBreak', sep = ed.getParam('pagebreak_separator', ''), pbRE; pbRE = new RegExp(sep.replace(/[\?\.\*\[\]\(\)\{\}\+\^\$\:]/g, function(a) {return '\\' + a;}), 'g'); @@ -24,9 +24,6 @@ ed.addButton('pagebreak', {title : 'pagebreak.desc', cmd : cls}); ed.onInit.add(function() { - if (ed.settings.content_css !== false) - ed.dom.loadCSS(url + "/css/content.css"); - if (ed.theme.onResolveName) { ed.theme.onResolveName.add(function(th, o) { if (o.node.nodeName == 'IMG' && ed.dom.hasClass(o.node, cls))