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

Author: Anonymous Publish Time : 2024.09.16 08:49:11 Updated Time : 2024.09.16 09:01:56

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
Login To Comment

No Comments