更新记录
1.0(2025-09-18) 下载此版本
初次版本
平台兼容性
其他
多语言 | 暗黑模式 | 宽屏模式 |
---|---|---|
√ | √ | √ |
非常完美的web端富文本编辑器,对代码的处理非常完美,集成Editor.md,直接使用,方便二次开发。
获取编辑内容文本的方法
getContent() {
if (this.editor) {
this.htmlContent = this.editor.getHTML()
const markdownContent = this.editor.getMarkdown()
console.log('Markdown内容:', markdownContent)
console.log('HTML内容:', this.htmlContent)
uni.showToast({
title: '已获取内容',
icon: 'none'
})
}
},