配置行高

编辑器的行高,可以通过 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 07:03:47

results matching ""

    No results matching ""