0

I have the TinyMCE sample with API key installed on a test page at https://myezwb.com/tinymce.htm - there is no other code on the page and the TinyMCE works great.

Now I have installed that same at the top of 3 production pages at https://myezwb.com, just like I did on the test page.

It works on one page that has a single textarea but on similar pages with one or multiple textareas it won't work, with or without an API key.

I don't find any differences between the code or structure on the three pages and/or the test page.

What am I missing?

Thanks in advance.

Jake
  • 1,560
  • 2
  • 17
  • 25
  • What errors (if any) appear on the browser's console? – Michael Fromin Feb 12 '21 at 14:49
  • tinymce.min.js:2 Failed to initialize the editor as the document is not in standards mode. TinyMCE requires standards mod. I'm not sure what that means as the script is exactly the same as in the ones that work. – Michael Gribbin Feb 13 '21 at 14:18

1 Answers1

0

The error:

tinymce.min.js:2 Failed to initialize the editor as the document is not in standards mode.
TinyMCE requires standards mode

explains the issue. TinyMCE 5 requires the page in which it is loaded to be in Standards mode and not Quirks mode.

For more on this topic you can find lots of details online such as:

Michael Fromin
  • 13,131
  • 2
  • 20
  • 31