【文件属性】:
文件名称:live-editor:集成了编辑器组件的实时协作编辑服务
文件大小:237KB
文件格式:ZIP
更新时间:2021-05-03 01:51:44
rich-text-editor collaborative-editing real-time-editing JavaScript
在应用程序中启用实时协同编辑
安装
npm:
npm install live-editor
纱:
yarn add live-editor
启动服务器
const { startServer } = require ( 'live-editor/server' ) ;
// ref: node_modules/live-editor/config/server.json
const options = {
enableFakeTokenApi : true , // enable fake token api only in test environment
} ;
startServer ( options ) ; // default port: 9000
客户
import {
createEditorPromise ,
AuthMessage ,
} from
【文件预览】:
live-editor-main
----.gitignore(61B)
----samples()
--------local()
--------demo()
--------cdn()
--------react()
--------basic()
----LICENSE(1KB)
----.eslintrc.js(1KB)
----README.md(3KB)