自动 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: 2022-04-11 07:03:47

results matching ""

    No results matching ""