content、extensions、placeholder 仅在首次挂载时生效,后续变更会被忽略;项目定位服务于 Doist 自身需求,并非通用富文本编辑器

typist
DoistMIT活跃维护基于 Tiptap 和 ProseMirror 的富文本编辑器,支持 Markdown 与纯文本编辑,为 Doist 旗下产品提供编辑能力,可直接集成到 React 应用中。
The mighty Tiptap-based rich-text editor that powers Doist products.
基于 Tiptap 的 React 富文本编辑器组件,支持编辑与只读展示,并自带 HTML/Markdown 序列化
基于 Tiptap 和 ProseMirror 的富文本编辑器,支持 Markdown 与纯文本编辑,为 Doist 旗下产品提供编辑能力,可直接集成到 React 应用中。
核心能力
- 基于 Tiptap 构建的 React 富文本编辑器组件
- 支持只读模式展示内容
- 支持纯文本模式
- 内置 HTML 与 Markdown 序列化器
- 通过 extensions 传入 RichTextKit 等扩展
容易踩的坑
- v17.0.8最新正式版2026-11-09 · 2026-11-09 17:36 UTC
- v17.0.72026-11-09 · 2026-11-09 10:12 UTC
- v17.0.62026-10-29 · 2026-10-29 20:12 UTC
- v17.0.52026-10-09 · 2026-10-09 08:49 UTC
- v17.0.42026-10-02 · 2026-10-02 15:42 UTC
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
Typist is the mighty Tiptap-based rich-text editor React component that powers Doist products, which can also be used for displaying content in a read-only fashion. Typist also supports a plain-text mode, and comes with HTML/Markdown serializers.
Note
This project is not attempting to be an all-purpose rich-text editor. Whilst everyone is welcome to fork or use this package in their own products, development decisions are centered around Doist product requirements.
Installation
npm install --save @doist/typist
Usage
import { TypistEditor, RichTextKit } from '@doist/typist'
function TypistEditorContainer({ content }) {
return (
<TypistEditor
placeholder="A full rich-text editor, be creative…"
content={content}
extensions={[RichTextKit]}
/>
)
}
Note
content,extensions, andplaceholderare initialization-only: they're read when the editor first mounts, and later changes to these props are ignored. See the Component Lifecycle documentation for how to handle runtime changes.
If you're looking for additional documentation, in-depth examples, or a live demo, please check out our Storybook.
Resources
A curated list of open-source rich-text editors powered by Tiptap that we can draw inspiration from:
- GitLab's content editor:
https://gitlab.com/gitlab-org/gitlab/-/tree/master/app/assets/javascripts/content_editor
Contributing
If you're interested in contributing code and/or documentation, please read our contributing guide.
License
The use of this source code is governed by an MIT-style license that can be found in the LICENSE file.