From 27904b8d8f663b23d978a92e41199f04b510531f Mon Sep 17 00:00:00 2001 From: valadzhov Date: Thu, 12 Nov 2020 13:15:43 +0200 Subject: [PATCH] fix(html-editor): Blurring the workspace after setting the content. #2089 --- src/js/modules/infragistics.ui.htmleditor.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/js/modules/infragistics.ui.htmleditor.js b/src/js/modules/infragistics.ui.htmleditor.js index 83371caac..d02cfc9fa 100644 --- a/src/js/modules/infragistics.ui.htmleditor.js +++ b/src/js/modules/infragistics.ui.htmleditor.js @@ -2321,6 +2321,7 @@ // K.D. October 2nd, 2012 Bug #123366 Encoding the content before setting the value // D.A. March 23, 2015 Bug #189760 Special characters (; , / ? : @ & = + $) are not encoded properly. Change encodeURI to encodeURIComponent this.sourceWindow.val(encodeURIComponent(content)); + this.workspace.blur(); }, destroy: function () { /* Destroys the widget.