You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Latest tinymce beta does not work when serving pages as application/xhtml+xml
Steps to reproduce:
1.Serve page with content-type: application/xhtml+xml
2.init tinymce with the same parameters as the basic example in javascript
3.fails
4.Serve page with content-type: text/html and repeat
5.works
Expected result: tinymce editor
Actual result: Blank area where editor should be.
Legacy information imported from TinyMCE bug tracker:
Same issue with 4.0.20. The issue is that the HTML produced for the toolbar is not XML compliant, and therefore fails (on line 6137) when the innerHTML method is called.
I forked the repo in GitHub but it did not have the TinyMCE 4 branch in it for some reason. Anyway the fix was fairly simple. Replace all attributes that specify hidefocus without a value with hidefocus="1", and there is also a " " on line 31240 that needs removing.
Like I say fairly simple fix, I am happy to create the path properly if someone can help, or I can test if someone else wants to submit the patch.
Description of problem:
Latest tinymce beta does not work when serving pages as application/xhtml+xml
Steps to reproduce:
1.Serve page with content-type: application/xhtml+xml
2.init tinymce with the same parameters as the basic example in javascript
3.fails
4.Serve page with content-type: text/html and repeat
5.works
Expected result: tinymce editor
Actual result: Blank area where editor should be.
The text was updated successfully, but these errors were encountered: