tinymce / tinymce-angular

Official TinyMCE Angular Component
MIT License
320 stars 92 forks source link

NS_ERROR_UNEXPECTED on Firefox browser after saving the editor content. #360

Open Kushagra-Sharma opened 11 months ago

Kushagra-Sharma commented 11 months ago

Currently on the firefox browser, when we try to reload our component which has the tiny-mce editor, we see NS_ERROR_UNEXPECTED message and the editor does not show any content at all.

On loading the editor for the first time, the content is rendered properly and we can make changes to it, after saving the changes when the component reloads, we receive NS_ERROR_UNEXPECTED error and the editor does not show any content at all. It only starts displaying the content back once we manually reload/refresh the page.

It behaves correctly on browsers like Google chrome, Edge and Safari as well, it's only misbehaving in case of Firefox.

We're using versions "tinymce": "^6.4.0", "@tinymce/tinymce-angular": "^6.0.1", and Angular 13. This seemed to be an existing issue in previous version as well because we found a stackoverflow question where someone faced a similar issue : https://stackoverflow.com/questions/33278834/getting-ns-error-unexpected-while-using-tinymce-in-mozilla/51494158#51494158 We tried the solution provided in the answer, but it didn't solve the problem for us. Any help on this would be appreciated.

TinyITAdmin commented 11 months ago

Ref: INT-3210