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: 2022-04-11 06:40:29

results matching ""

    No results matching ""