快速开始
安装
bash
pnpm install本地开发文档
bash
pnpm --filter docs-site docs:dev最小初始化
ts
import { createEditorCore } from '@ly-editor/core'
import { createPluginRegistry } from '@ly-editor/plugin-kit'
const editor = createEditorCore({ initialText: 'Hello lyEditor' })
const plugins = createPluginRegistry({ locale: 'zh-CN' })