X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=Workspace%2FSiman%2FWebContent%2Frtef%2Frichtext.js;fp=Workspace%2FSiman%2FWebContent%2Frtef%2Frichtext.js;h=1acd7a9fab570613095b7e22995a407b21b53adf;hb=6eed5be54ffc262c46c112c5218649d37431de63;hp=ce19f6bb0d55683994fb72bb4e1cb5e69f6d5184;hpb=6163f4c2501286640010ccb2dcf531affa498915;p=tools%2Fsiman.git diff --git a/Workspace/Siman/WebContent/rtef/richtext.js b/Workspace/Siman/WebContent/rtef/richtext.js index ce19f6b..1acd7a9 100644 --- a/Workspace/Siman/WebContent/rtef/richtext.js +++ b/Workspace/Siman/WebContent/rtef/richtext.js @@ -135,7 +135,7 @@ function initTextInput() { wrapWidth = 14 * 24; defaultFont = "Arial, Helvetica, sans-serif"; - initRTE("../rtef/images/", "", "", true); + initRTE("../rtef/images/", "../rtef/", "", true); } function initTextEditor() { @@ -158,7 +158,7 @@ function initTextEditor() { wrapWidth = 15 * 24; defaultFont = "Arial, Helvetica, sans-serif"; - initRTE("../rtef/images/", "", "", true); + initRTE("../rtef/images/", "../rtef/", "", true); } function addCommand(name, action) { @@ -268,7 +268,7 @@ function writeRichText(rte, html, css, width, height, buttons, readOnly, fullscr document.writeln(''); insertBar(); if(fullscreen || activeCommand.get("save") != null){ - document.writeln(''); + document.writeln(''); nbcommand += 1; } if(!isSafari && !isKonqueror) { @@ -467,6 +467,7 @@ function enableDesignMode(rte, html, css, readOnly) { // // if(!readOnly) document.getElementById(rte).contentDocument.designMode = "on"; if(!readOnly && !isKonqueror && !isSafari) { + document.getElementById(rte).contentDocument.designMode = "on"; //RKV addLoadEvent(function() { document.getElementById(rte).contentDocument.designMode = "on"; }); } else if(!readOnly) { if (!readOnly) document.getElementById(rte).contentDocument.designMode = "on";