Failed to initialize the editor as the document is not in standards mode.

By On

I have the default tinymce snipped of code on my page. This script was used in the example on the website so I would think there are no syntax errors or anything with it. Regardless, whenever I load the page, the editor does not load and I get the error "Failed to initialize the editor as the document is not in standards mode. TinyMCE requires standards mode.". What is causing this and how do i fix it?

1 Answer

- Advertisment -
SEMrush
Answered By Dan On

check the html document to make sure there isnt something before the opening html tag. in my case there was a style tag that came before the html declaration. <!DOCTYPE html> was missing from the document too