TinyMCE not loading content in Editor
TinyMCE not loading content in Editor
I have an Editor table that is making use of the TinyMCE plugin for one of the fields. Works without issues using packages:
"datatables.net": "^1.10.19",
"datatables.net-bs4": "^1.10.19",
However, upon the upgrade to packages:
"datatables.net": "1.11.4", or 1.13.9
"datatables.net-bs4": "1.11.4",
the TinyMCE content field will no longer load the contents. It simply displays blank. I've experimented with a variety of things to debug and found that the package update is the culprit. The first time I edit a record in a private/incognito browser there is a quick flash of the content and then it gets cleared out. Any assistance in resolving this or an update to the TinyMCE JS to fix would be appreciated.
Thanks
This question has accepted answers - jump to:
Answers
Sorry forgot to include TinyMCE version: 5.4.2
Thanks for the update. That'll do it
Allan
Sorry Allan, I just meant that I forgot to include what verion of TinyMCE I am using. It was installed along with those DT versions I mentioned and produces the issue.
So to clarify, I have Datatables intalled with the newer versions mentioned above and have TinyMCE installled using 5.4.2 and that is producing the issue of the content not being displayed in the TinyMCE editor.
Oh! Haha - sorry!
Could you give me a link to your page so I can debug the issue please?
Allan
I added conf._input.find('textarea').val(val); to the set function and worked for me