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

Author: Publish Time: 2024.09.16 08:49:11

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

this error happened when i add some js var before the html start

<?php echo '<script>var site_url = "' . $siteUrl . '";  </script>';?>
<!DOCTYPE html>
<html lang="en">
<head>
 
so move 
 
<?php echo '<script>var site_url = "' . $siteUrl . '";  </script>';?>
after <!DOCTYPE html>
Comment

No Comments