<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: RichTextEditor binding issue in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/richtexteditor-binding-issue/qaa-p/12075192#M4511588</link>
    <description>&lt;P&gt;I also have problems with the RichTextEditor in the newer SAPUI5 versions (&amp;gt;= 1.60.0).&lt;/P&gt;&lt;P&gt;I have a Master-Detail application. In the detail view is the RichTextEditor. Depending on which item has been selected in the master view the `value` of the  RichTextEditor changes via a property binding.&lt;/P&gt;&lt;P&gt;If I quickly switch between two items and then back to the original item in the master view, then the RichTextEditor just disappears...&lt;/P&gt;&lt;P&gt;This issue is only happening since SAPUI5 version 1.60.0. As as workaround I'm now sticking to the maintenance release 1.52.&lt;/P&gt;</description>
    <pubDate>Fri, 08 Nov 2019 10:33:26 GMT</pubDate>
    <dc:creator>M_Zimmermann</dc:creator>
    <dc:date>2019-11-08T10:33:26Z</dc:date>
    <item>
      <title>RichTextEditor binding issue</title>
      <link>https://community.sap.com/t5/technology-q-a/richtexteditor-binding-issue/qaq-p/12075191</link>
      <description>&lt;P&gt;Hai Experts, &lt;/P&gt;
  &lt;P&gt;I am using Richtext Editor in one of my SAPUI5 app, while loading the app value is binding properly, but sometime the value is not binding(rare scenarios) since the odata is returning the required data, Is anybody face the same issue..? If Yes can anybody assist to resolve the same.&lt;/P&gt;
  &lt;P&gt;Thanks,&lt;/P&gt;
  &lt;P&gt;Muhsin&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2019 06:17:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/richtexteditor-binding-issue/qaq-p/12075191</guid>
      <dc:creator>muhsin_panakkal</dc:creator>
      <dc:date>2019-08-22T06:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: RichTextEditor binding issue</title>
      <link>https://community.sap.com/t5/technology-q-a/richtexteditor-binding-issue/qaa-p/12075192#M4511588</link>
      <description>&lt;P&gt;I also have problems with the RichTextEditor in the newer SAPUI5 versions (&amp;gt;= 1.60.0).&lt;/P&gt;&lt;P&gt;I have a Master-Detail application. In the detail view is the RichTextEditor. Depending on which item has been selected in the master view the `value` of the  RichTextEditor changes via a property binding.&lt;/P&gt;&lt;P&gt;If I quickly switch between two items and then back to the original item in the master view, then the RichTextEditor just disappears...&lt;/P&gt;&lt;P&gt;This issue is only happening since SAPUI5 version 1.60.0. As as workaround I'm now sticking to the maintenance release 1.52.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 10:33:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/richtexteditor-binding-issue/qaa-p/12075192#M4511588</guid>
      <dc:creator>M_Zimmermann</dc:creator>
      <dc:date>2019-11-08T10:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: RichTextEditor binding issue</title>
      <link>https://community.sap.com/t5/technology-q-a/richtexteditor-binding-issue/qaa-p/12075193#M4511589</link>
      <description>&lt;P&gt;Hi Manuel, &lt;/P&gt;&lt;P&gt;Have you been able to find a solution for your problem? I'm on SAPUI5 version "1.71.0" and facing exactly the same issue as you've described. In the console log I don't see any errors related to the RichTextEditor either. &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Artiom&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 09:28:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/richtexteditor-binding-issue/qaa-p/12075193#M4511589</guid>
      <dc:creator>artioms</dc:creator>
      <dc:date>2020-08-05T09:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: RichTextEditor binding issue</title>
      <link>https://community.sap.com/t5/technology-q-a/richtexteditor-binding-issue/qaa-p/12075194#M4511590</link>
      <description>&lt;P&gt; &lt;SPAN class="mention-scrubbed"&gt;artiom21&lt;/SPAN&gt; Yes, I found a workaround.&lt;/P&gt;&lt;P&gt;The RichTextEditor uses the TinyMCE library internally. Since SAPUI5 1.60 a newer version of TinyMCE (4.7.13) is used which is causing this problem. The version of TinyMCE (4.5.7) used in SAPUI5 1.52 works fine. For this reason I created a custom control which is using the older version of TinyMCE:&lt;/P&gt;&lt;P&gt;CustomRichTextEditor.js:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;sap.ui.define([
    "sap/ui/richtexteditor/RichTextEditor",
    "sap/ui/dom/includeScript"
], function (RichTextEditor, includeScript) {
    "use strict";

    RichTextEditor.loadTinyMCE = function () {
        var sLocation = "https://sapui5.hana.ondemand.com/1.52.41/resources/sap/ui/richtexteditor/js/tiny_mce4/tinymce.min.js";

        if (sLocation) {
            var sRealLocation = sLocation,
                oScriptElement = document.querySelector("#sapui5-tinyMCE"),
                sLoadedLocation = oScriptElement ? oScriptElement.getAttribute("src") : "";


            if (sRealLocation !== sLoadedLocation &amp;amp;&amp;amp; RichTextEditor._iCountInstances === 1) {
                delete window.tinymce;
                delete window.TinyMCE;
                RichTextEditor.pLoadTinyMCE = null;
            }

            if (!RichTextEditor.pLoadTinyMCE) {
                RichTextEditor.pLoadTinyMCE = new Promise(function (fnResolve, fnReject) {
                    includeScript(sRealLocation, "sapui5-tinyMCE", fnResolve, fnReject);
                });
            }
        }
        return RichTextEditor.pLoadTinyMCE;
    };

    return RichTextEditor;
});
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;CustomRichTextEditorRenderer.js&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;sap.ui.define([
    "sap/ui/richtexteditor/RichTextEditorRenderer"
], function (RichTextEditorRenderer) {
    "use strict";

    return RichTextEditorRenderer;
});
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Essentially I only override one method which specifies the version of TinyMCE. Currently I use this custom control in SAPUI5 1.60 which works fine but have not tested it for newer versions.&lt;/P&gt;&lt;P&gt;I hope that helps you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2020 07:52:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/richtexteditor-binding-issue/qaa-p/12075194#M4511590</guid>
      <dc:creator>M_Zimmermann</dc:creator>
      <dc:date>2020-09-01T07:52:04Z</dc:date>
    </item>
  </channel>
</rss>

