TinyMCE / Rich Text Editor problem with multiple instances
Hi all,
I have an issue with TinyMCE RTE in Umbraco v7.1.1
Note that I could replicate the issue on local machine only once (in a 1000 times), and on server it's happening all the time.
I have 3 tabs on one page, each of them containing 2 RTE, and on the first load sometimes it loads all of them, sometimes it loads only a few, but it happens that I only get buttons, and no textarea, or it's left blank, no sign of RTE. Also, when it loads all of them, when I try to edit another page with RTE and go back, it breaks again.
I've prettified the tinymce.min.js, because it's been throwing me some errors, and here are the errors:
Uncaught TypeError: undefined is not a function tinymce.min.js?umbrnd=7.1.1.684829994:7786
N.init tinymce.min.js?umbrnd=7.1.1.684829994:7786
o.remove(s), a && (a.onreadystatechange = a.onload = a = null), t()
Uncaught TypeError: Cannot read property 'fire' of undefined
Everything seems to be working well when I tested on Mac in Safari, but in other browsers, including Safari for Win, it's breaking.
I'm using win, an my client is using win too, and I need to find a good solution for this, so client doesn't need to learn how to type HTML tags when creating an input :)
I believe it fires up those events before those functions are loaded, but I can't find a solution for this :(
Also, since I've created those properties on my local machine and uploaded them on our dev server (since I don't have access to their dev server, I needed to see if I could replicate the issue), the content from RTE is displaying in front-end, but it doesn't show up in Back Office.
One more thing... RTE I've added earlier (since they were for posts, now the client wanted to make other content editable so they could update without calling me for every little thing) are working as a charm for 3 months now, and they are not breaking like the newly added ones.
Has anyone experienced this issue, and does anyone know a solution for this?
I'm currently working on another project, so I've turned off tinyMCE, and I've explained to the client how to enter the content with a few html tags.
As soon as I get time, I'll update it, and see if it solves the issue. Thanks for the advice.
TinyMCE / Rich Text Editor problem with multiple instances
Hi all,
I have an issue with TinyMCE RTE in Umbraco v7.1.1
Note that I could replicate the issue on local machine only once (in a 1000 times), and on server it's happening all the time.
I have 3 tabs on one page, each of them containing 2 RTE, and on the first load sometimes it loads all of them, sometimes it loads only a few, but it happens that I only get buttons, and no textarea, or it's left blank, no sign of RTE. Also, when it loads all of them, when I try to edit another page with RTE and go back, it breaks again.
I've prettified the tinymce.min.js, because it's been throwing me some errors, and here are the errors:
Uncaught TypeError: undefined is not a function tinymce.min.js?umbrnd=7.1.1.684829994:7786 N.init tinymce.min.js?umbrnd=7.1.1.684829994:7786
(anonymous function) tinymce.min.js?umb__rnd=7.1.1.684829994:7739
(anonymous function) tinymce.min.js?umb__rnd=7.1.1.684829994:2572
i tinymce.min.js?umb__rnd=7.1.1.684829994:1442
r.loadScripts.h tinymce.min.js?umb__rnd=7.1.1.684829994:2571
(anonymous function) tinymce.min.js?umb__rnd=7.1.1.684829994:2569
n tinymce.min.js?umb__rnd=7.1.1.684829994:2522
Uncaught TypeError: Cannot read property 'fire' of undefined
Everything seems to be working well when I tested on Mac in Safari, but in other browsers, including Safari for Win, it's breaking.
I'm using win, an my client is using win too, and I need to find a good solution for this, so client doesn't need to learn how to type HTML tags when creating an input :)
I believe it fires up those events before those functions are loaded, but I can't find a solution for this :(
Also, since I've created those properties on my local machine and uploaded them on our dev server (since I don't have access to their dev server, I needed to see if I could replicate the issue), the content from RTE is displaying in front-end, but it doesn't show up in Back Office.
One more thing... RTE I've added earlier (since they were for posts, now the client wanted to make other content editable so they could update without calling me for every little thing) are working as a charm for 3 months now, and they are not breaking like the newly added ones.
Has anyone experienced this issue, and does anyone know a solution for this?
Thanks!
Uros :)
Hi Uros
Could it be an option to see if the issue is solved by upgrading Umbraco to the latest release of 7.1.8 perhaps?
/Jan
Hi Jan,
I'm currently working on another project, so I've turned off tinyMCE, and I've explained to the client how to enter the content with a few html tags. As soon as I get time, I'll update it, and see if it solves the issue. Thanks for the advice.
Uros
is working on a reply...