From 7b1f26d19276edfc3f5d5e5d568f05e032b7fde6 Mon Sep 17 00:00:00 2001 From: valadzhov Date: Thu, 3 Dec 2020 10:13:36 +0200 Subject: [PATCH] Removing whitespaces. --- src/js/modules/infragistics.ui.htmleditor.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); }