Wenlan
Wenlan is a source-backed AI knowledge base and LLM wiki for AI work: organize documents and decisions into pages you can find, inspect, and review.
翻訳待ち
A Canvas/SVG-based rich text editor
翻訳待ち
生産性TypeScript · CSSGitHub @Hufe921自分でインストール所有者未確認
Paste into Claude or ChatGPT for installation instructions suited to your environment.
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗Canvas Editor is a feature-rich, WYSIWYG document editor rendered with HTML <canvas> (with an optional SVG backend). It is designed for use cases that demand pixel-perfect rendering, advanced typography, complex layouts, and Word-like document experiences in the browser — including EMR (Electronic Medical Records), legal contracts, reports, and other document-centric applications.
Unlike traditional contenteditable-based editors, Canvas Editor takes full control of the rendering pipeline, providing consistent typography across browsers, precise pagination, and a uniform export experience.
instance.use); official plugins cover Word/Excel import-export, formulas, code blocks, comments, spell checking, and more| Canvas Editor | contenteditable Editors | |
|---|---|---|
| Cross-browser rendering | Pixel-perfect, identical | Varies by browser |
| Pagination | Native, document-style | Manual / unsupported |
| Print fidelity | Matches on-screen output | Often diverges |
| Typography control | Full control | Limited by the browser |
| Document features | TOC, headers/footers, watermarks | Requires heavy custom logic |
# npm
npm install @hufe921/canvas-editor
# pnpm
pnpm add @hufe921/canvas-editor
# yarn
yarn add @hufe921/canvas-editor
<div class="canvas-editor"></div>
import Editor from '@hufe921/canvas-editor'
const container = document.querySelector('.canvas-editor')
const editor = new Editor(container, {
main: [
{
value: 'Hello, Canvas Editor!'
}
]
})
For complete API documentation, see the official docs.
| Project | Description |
|---|---|
| canvas-editor-plugin | Official plugins: Word/Excel import-export, formula, comment, spellcheck & 20+ more |
| SVG render layer | Built-in SVG rendering backend — enable via the backend: 'svg' editor option (supersedes the old feature/svg branch) |
| feature/pdf | PDF export — live demo |
| feature/ai | AI-powered text processing demo |
| feature/collaboration | Real-time collaborative editing example |
>= 24.13.1# Install dependencies
pnpm install
# Start the development server
npm run dev
# Build the application (demo)
npm run build
# Build the library (publishable package)
npm run lib
# Lint
npm run lint
# Type check
npm run type:check
# Unit tests (Vitest)
npm run test:unit
# E2E tests (Cypress)
npm run cypress:open # interactive
npm run cypress:run # headless
npm run docs:dev # Start VitePress docs locally
npm run docs:build # Build the documentation site
This is the beginning of the README. Read the rest at the original. Read the full README ↗