editor.txt.html('<p>用 JS 设置的内容</p>') 或者: this.editor.txt.html('<p>' + this.value + '</p>') 设置的时候必须包裹在p标签里面 否则会出现 回车不换行的问题