0.0.2 • Published 12 months ago

xnote-mtn v0.0.2

Weekly downloads
-
License
-
Repository
github
Last release
12 months ago

XNote

Xnote 是一个无头、高性能、与框架无关的富文本编辑器,支持多人在线协作。提供了丰富的现代文档编辑功能。

Xnote 底层依赖于开源富文本框架 Textbus 和前端视图 Viewfly。因此,你可以在此基础上继续扩展自己的功能。

在线演示

在线演示

安装

npm install @textbus/xnote katex

使用

import 'katex/dist/katex.min.css'
import { Editor } from '@textbus/xnote'

const editor = new Editor()
editor.mount(document.getElementById('editor')).then(() => {
  console.log('编辑器准备完成。')
})