# 定义 debug 模式 可通过`editor.customConfig.debug = true`配置`debug`模式,`debug`模式下,有 JS 错误会以`throw Error`方式提示出来。默认值为`false`,即不会抛出异常。 但是,在实际开发中不建议直接定义为`true`或者`false`,可通过 url 参数进行干预,示例如下: ```html
欢迎使用 wangEditor 富文本编辑器