Auto Focus

By default, the editable area will be focused when initializing. If you want to cancel auto focus that using editor.config.focus.

You can use editor.config.focus to cancel auto focus. For example:

const editor = new E('#div1')

// cancel auto focus
editor.config.focus = false

editor.create()
Copyright © wangEditor (2020 - present) all right reserved,powered by GitbookFile Modify: 2021-07-04 12:51:04

results matching ""

    No results matching ""