设置编辑区域的高度

编辑区域高度默认为 300px ,可通过以下方式修改。

  1. const editor = new E('#div1')
  2. // 设置编辑区域高度为 500px
  3. editor.config.height = 500
  4. // 注意,先配置 height ,再执行 create()
  5. editor.create()