Content API

If you want to know common usage of content, you can reference following docs: content.

editor.cmd.do(name: string, value: string)

Inserting text at cursor position.

editor.cmd.do(name, value) API is equal to browser native API: document.execCommand(name, false, value), you can learn more about it to visit following link: docs.

Copyright © wangEditor (2020 - present) all right reserved,powered by GitbookFile Modify: 2022-04-11 06:40:29

results matching ""

    No results matching ""