Placeholder

You can use editor.config.placeholder to change placeholder text.

const editor = new E('#div1')

editor.config.placeholder = 'custom placeholder txt'
// editor.config.placeholder = '' // if you not use placeholder, you can get placehoder a empty string
editor.create()
Copyright © wangEditor (2020 - present) all right reserved,powered by GitbookFile Modify: 2021-07-04 12:51:04

results matching ""

    No results matching ""