From 4c7f4c52bae8b82675d2c253a572deed50f77369 Mon Sep 17 00:00:00 2001 From: jeroen-huizer-conclusion Date: Tue, 14 Feb 2017 15:42:28 +0100 Subject: [PATCH 1/2] Replaced old reference _inputfield was replaced by inputNode in 3.2.0 --- src/BootstrapRTE/widget/BootstrapRTE.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BootstrapRTE/widget/BootstrapRTE.js b/src/BootstrapRTE/widget/BootstrapRTE.js index eb68909..b73f727 100644 --- a/src/BootstrapRTE/widget/BootstrapRTE.js +++ b/src/BootstrapRTE/widget/BootstrapRTE.js @@ -301,7 +301,7 @@ define([ _fetchContent: function () { logger.debug(this.id + "._fetchContent"); - var text = $(this._inputfield).html(), + var text = $(this.inputNode).html(), _valueChanged = (this._mxObj && this._mxObj.get(this.attribute) !== text); this._mxObj.set(this.attribute, text); From d0eae5280ac85eb7fd7a99ce5a9015ecb021cf0b Mon Sep 17 00:00:00 2001 From: jeroen-huizer-conclusion Date: Fri, 7 Apr 2017 10:16:58 +0200 Subject: [PATCH 2/2] removeFormat command substituted removeFormat instead of html as toolbar command. html does not seem to exist based on https://developer.mozilla.org/en-US/docs/Web/API/document/execCommand#Commands --- .../widget/template/BootstrapRTE.html | 2 +- test/widgets/BootstrapRTE.mpk | Bin 335047 -> 335046 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BootstrapRTE/widget/template/BootstrapRTE.html b/src/BootstrapRTE/widget/template/BootstrapRTE.html index 354804c..44af223 100644 --- a/src/BootstrapRTE/widget/template/BootstrapRTE.html +++ b/src/BootstrapRTE/widget/template/BootstrapRTE.html @@ -55,7 +55,7 @@