Set Line Height

You can set line height to use editor.config.lineHeights:

const E = window.wangEditor
const editor = new E('#div1')

editor.config.lineHeights = ['1', '1.15', '1.6', '2', '2.5', '3']

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

results matching ""

    No results matching ""