Được TopGit lập chỉ mục từ metadata GitHub: Hufe921/canvas-editor có 5.1k sao, viết chủ yếu bằng TypeScript. A Canvas/SVG-based rich text editor
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
🎉 Canvas Editor 1.0.0 is released! See the 1.0 Release Notes for highlights and upgrade notes.
Overview
Canvas Editor is a feature-rich, WYSIWYG document editor built on top of the HTML <canvas> API. 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.
Features
Rich Text — Undo / Redo, Font, Size, Bold, Italic, Underline, Strikeout, Superscript, Alignment, Headings, Lists, and more
Insertable Elements — Tables, Images, Hyperlinks, Code Blocks, Page Breaks, Math Formulas (LaTeX), Date Pickers, Block elements
Form Controls — Select, Text, Date, Radio, Checkbox controls
Pagination — Native pagination with headers, footers, and page numbers
For complete API documentation, see the official docs.
Ecosystem
Project
Description
canvas-editor-plugin
Official plugin collection
feature/svg
SVG render layer (in development)
feature/pdf
PDF export feature
feature/ai
AI-powered text processing demo
feature/CRDT
CRDT-based collaboration (experimental)
Development
Prerequisites
Node.js >= 24.13.1
pnpm (recommended)
Setup
# Install dependencies
pnpm install
# Start the development server
npm run dev
Build
# Build the application (demo)
npm run build
# Build the library (publishable package)
npm run lib
Quality Checks
# 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
Documentation
npm run docs:dev # Start VitePress docs locally
npm run docs:build # Build the documentation site
Contributions are what make the open-source community such an amazing place. Any contributions you make are greatly appreciated — bug reports, feature requests, documentation improvements, or pull requests.
Fork the repository
Create your feature branch (git checkout -b feat/amazing-feature)
Commit your changes following Conventional Commits (git commit -m 'feat: add amazing feature')
Push to the branch (git push origin feat/amazing-feature)
Open a Pull Request
Pre-commit hooks automatically run lint and type:check. Commit messages must follow Conventional Commits format (feat:, fix:, docs:, refactor:, ...).
Contributors
Thanks to all the people who have contributed to Canvas Editor!
Community & Support
Documentation — hufe.club/canvas-editor-docs
Discussions — GitHub Discussions
Bug Reports — GitHub Issues
AI-Assisted Q&A — Zread · DeepWiki
Sponsors
If you find this project useful, please consider sponsoring to support its continued development.
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/Hufe921/canvas-editor là nguồn chính thức.
Có — Hufe921/canvas-editor phát hành theo license MIT, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/Hufe921/canvas-editor.
Hufe921/canvas-editor có trang demo không?
Dự án có trang chủ ở https://hufe.club/canvas-editor-docs. Tab "Readme" ở trang này thường có ảnh chụp và hướng dẫn bắt đầu nhanh.
Hufe921/canvas-editor còn đang phát triển không?
Commit gần nhất trên Hufe921/canvas-editor là 18 ngày trước (theo timestamp GitHub). Repo có 856 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
Hufe921/canvas-editor dùng license gì?
Hufe921/canvas-editor phát hành theo license MIT. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
Đọc đầy đủ README ở tab phía trên.
Vẫn đang phân vân về canvas-editor?
Một cú bấm sẽ gửi câu hỏi kèm trang này cho AI — xem AI nói gì về canvas-editor.