@zuilib/text-editor · v0.13.3
The editor enterprise apps keep rebuilding.
Notes, comments, runbooks, spec fields: every product has them and none of the engines ship a finished one. This is a complete markdown editor for React, with tables, diagrams and highlighted code, that takes your theme as it is. Type in it below; it is the released package.
Artboard · document workspace
light · 100%
Loading editor
MarkdownEditor with its outline. Each document keeps its own markdown; create, switch, edit, publish. The editor takes the theme from the same custom properties as the chrome around it.Install
pnpm add @zuilib/text-editor
# app.css (Tailwind v4 host)
@import "tailwindcss";
@import "@zuilib/text-editor/tailwind.css";
Use
import {useState} from 'react'
import {MarkdownEditor} from '@zuilib/text-editor'
import '@zuilib/text-editor/styles.css'
export function Notes() {
const [value, setValue] = useState('# Runbook\n\n...')
return <MarkdownEditor value={value} onValueChange={setValue} />
}