wrapWidth = 14 * 24;
defaultFont = "Arial, Helvetica, sans-serif";
- initRTE("../rtef/images/", "", "", true);
+ initRTE("../rtef/images/", "../rtef/", "", true);
}
function initTextEditor() {
wrapWidth = 15 * 24;
defaultFont = "Arial, Helvetica, sans-serif";
- initRTE("../rtef/images/", "", "", true);
+ initRTE("../rtef/images/", "../rtef/", "", true);
}
function addCommand(name, action) {
document.writeln('<tbody><tr>');
insertBar();
if(fullscreen || activeCommand.get("save") != null){
- document.writeln('<td><input type=image class="rteImg" src="'+imagesPath+'save.gif" alt="'+lblSave+'" title="'+lblSave+'" onmouseover="this.className=\'rteImgUp\'" onmouseout="this.className=\'rteImg\'" onmousedown="this.className=\'rteImgDn\'" onmouseup="this.className=\'rteImgUp\'" onClick="submitEdit()"></td>');
+ document.writeln('<td><input type="image" class="rteImg" src="'+imagesPath+'save.gif" alt="'+lblSave+'" title="'+lblSave+'" onmouseover="this.className=\'rteImgUp\'" onmouseout="this.className=\'rteImg\'" onmousedown="this.className=\'rteImgDn\'" onmouseup="this.className=\'rteImgUp\'" onClick="submitEdit()"></td>');
nbcommand += 1;
}
if(!isSafari && !isKonqueror) {
//
// 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";