diff --git a/src/js/modules/infragistics.ui.htmleditor.js b/src/js/modules/infragistics.ui.htmleditor.js index 55fd6337a..7bacb2e8f 100644 --- a/src/js/modules/infragistics.ui.htmleditor.js +++ b/src/js/modules/infragistics.ui.htmleditor.js @@ -1741,7 +1741,7 @@ sel = this._selectionWrapperSaved._getSelection(), range = this._selectionWrapperSaved._getRange(); - // Add   to execute the initial commands on it + // Add   to execute the initial commands on it lastNode.html(" "); // Set the selection to the dummy element @@ -1754,15 +1754,15 @@ sel = this._selectionWrapperSaved._getSelection(), range = this._selectionWrapperSaved._getRange(); - // Remove the dummy text and add
to make the element selectable + // Remove the dummy text and add
to make the element selectable lastNode.html("
"); - + // Collapse the selection if (lastNode.length > 0) { range.setStart(lastNode[ 0 ], 0); range.setEnd(lastNode[ 0 ], 0); range.collapse(true); - + sel.removeAllRanges(); sel.addRange(range); }