自动 focus

编辑器初始化时,默认会自动 focus 到编辑区域。可通过如下操作,取消自动 focus 。

const editor = new E('#div1')

// 取消自动 focus
editor.config.focus = false

editor.create()
Copyright © wangEditor (2020 - present) all right reserved,powered by GitbookFile Modify: 2020-10-21 16:30:01

results matching ""

    No results matching ""