编辑器的行高,可以通过 editor.config.lineHeights 配置。
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()