TinyMCE requires standards mode 报错解决方法。

错误信息

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

大体意思

  • TinyMCE在非标椎的文档模式下无法正常初始化。

解决方法

  • 保证html文件是以<!DOCTYPE html>单行开头。

常见场景

  • 在使用php\java\js等语言写在html页面的头部以上,就会出现这样的问题。
posted @ 2022-06-07 16:48  freepc  阅读(449)  评论(0)    收藏  举报