Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TinyMCE requires standards mode. #495

Closed
PanetiX opened this issue Dec 16, 2023 · 2 comments
Closed

TinyMCE requires standards mode. #495

PanetiX opened this issue Dec 16, 2023 · 2 comments
Labels
GitHub Issues that have been added to our internal issue tracker.

Comments

@PanetiX
Copy link

PanetiX commented Dec 16, 2023

Hello, TinyMCE won't load because: "Failed to initialize the editor as the document is not in standards mode. TinyMCE requires standards mode."

On my page i use "" as beginning but for some reason (i REALLY don't know why, or where this comes from) at the first point of my site is a "DDD". I searched all files on my server bot this "DDD" is on no file. I searched all files using the grep command on my linux server.

it looks like this:

DDD<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="DE">
<head>     
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />

how to disable in TinyMCE, that the doctype is requied?

What i have tried:

i add to the tinymce.init the following code:
doctype: '<!DOCTYPE html>',

@exalate-issue-sync exalate-issue-sync bot added the GitHub Issues that have been added to our internal issue tracker. label Dec 16, 2023
Copy link

Internal Ref: INT-3273

@danoaky-tiny
Copy link
Contributor

There's no way to force start TinyMCE if it's detected the webpage is not in standards mode. So unfortunately the only way to fix this is to find the cause of your phantom "DDD" you see.
If you have any other questions let us know.

@danoaky-tiny danoaky-tiny closed this as not planned Won't fix, can't repro, duplicate, stale Dec 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GitHub Issues that have been added to our internal issue tracker.
Projects
None yet
Development

No branches or pull requests

2 participants