项目
在 GitHub 查看
michelson/Dante
关于
又一个 Medium 所见即所得编辑器克隆版
效率与自动化实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -1
- 1个月
- -2
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Dante
Dante is a block editor and renderer built on top of TipTap and ProseMirror.
This repository contains the dante3 package and the Next.js website that powers the live demo and documentation.
What you get
- A React editor surface with configurable blocks, tooltips, and themes
- JSON and HTML content workflows
- Renderer and parser helpers for non-editor surfaces
- Built-in blocks for images, files, embeds, GIFs, dictation, and recorders
Install
npm install dante3
Basic usage
import DanteEditor from "dante3";
export default function Example() {
return <DanteEditor bodyPlaceholder="Write the next section" />;
}
Website
Run the local demo and docs site:
npm install
npm run dev
The site runs on http://localhost:8080.
Package build
Build the editor package:
npm run dante3:build
Publish
Publish the package from the workspace:
npm run dante3:publish
Documentation
The public docs are backed by the MDX files in packages/dante3/docs.
License
MIT
探索相关项目
加载中…