Changeset 7778
- Timestamp:
- 03/24/07 07:05:01 (22 months ago)
- Files:
-
- 1 modified
-
trunk/src/widget/RichText.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/widget/RichText.js
r7749 r7778 1173 1173 } 1174 1174 if(command == "inserthtml"){ 1175 //TODO: we shall probably call _preDomFilterContent here as well 1176 argument=this._preFilterContent(argument); 1175 1177 if(dojo.render.html.ie){ 1176 1178 //dojo.debug("inserthtml breaks the undo stack when not using the ActiveX version of the control!"); … … 1428 1430 // filter the output after getting the content of the editing area 1429 1431 dom = dom || this.editNode; 1430 if(nondistructive && dom['cloneNode']){1431 dom = dom.cloneNode(true);1432 }1433 1432 if(this.contentDomPostFilters.length>0){ 1433 if(nondistructive && dom['cloneNode']){ 1434 dom = dom.cloneNode(true); 1435 } 1434 1436 dojo.lang.forEach(this.contentDomPostFilters, function(ef){ 1435 1437 dom = ef(dom); 1436 1438 }); 1437 1439 } 1438 var ec = this.getNodeChildrenHtml(dom); //dom.innerHTML;1440 var ec = this.getNodeChildrenHtml(dom); 1439 1441 if(dojo.string.trim(ec) == " "){ ec = ""; } 1440 1442