# Hufe921/canvas-editor

A Canvas/SVG-based rich text editor

Repository: https://github.com/Hufe921/canvas-editor
Canonical: https://ross.abutalabs.com/products/canvas-editor
Homepage: https://hufe.club/canvas-editor-docs
Language: TypeScript
License: MIT
License Family: permissive
Topics: editor, canvas, canvas-editor, rich-text, typescript, vite, wysiwyg, control, emr, pdf, pdf-generation, latex, browser, date-picker, svg, word, ai
Last push: 2026-08-26T15:24:48+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 1755, "days_push": 7, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5152, forks 863 (observed 2026-08-28T04:09:11.350060+00:00)

## What it is
A Canvas/SVG-based WYSIWYG rich text editor library for the browser, offering Word-like paginated editing with tables, controls, watermarks, LaTeX formulas, and PDF/Word import-export via plugins. It ships as a core npm package with a fully typed TypeScript API, extensible menus, plugins, and lifecycle/event hooks.

## Use cases
- embed a word-like paginated rich text editor in a web app
- build a document editor with form controls and placeholders
- generate PDFs from editable documents in the browser
- create EMR/medical record forms with cascading form controls
- add watermarks, headers, footers, and page numbers to web documents
- import and export docx files in a web editor
- render LaTeX formulas inside rich text documents

## When to choose
- you need Word-like pagination and print-ready layout in the browser
- you want a lightweight JSON document model with full TypeScript types
- you need form controls, revision tracking, or comments in a document editor
- you want to self-build toolbars/menus on top of a core editor engine

## When to avoid
- you need a simple markdown or plain-text editor
- you want a batteries-included editor with a prebuilt toolbar out of the box
- you need server-side or native (non-browser) editing
- your project requires a large ecosystem of community plugins like ProseMirror or Slate

## Facets
- artifact type: library
- maturity: active
- function: editor, ui-components, pdf, plugin-system, internationalization
- domain: web-development, frontend, text-editors, pdf, developer-tools
- platform: browser
- tags: wysiwyg, rich-text-editor, canvas, svg, word-processor, form-controls, latex-formulas, watermark, document-editor, emr, typescript, web-server

## Member repositories
- Hufe921/canvas-editor (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:11.350060+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:01:56.362653+00:00, confidence not recorded.
  - readme: https://github.com/Hufe921/canvas-editor (fetched 2026-08-28T04:09:11.350060+00:00, sha e0bcdd0a04fe)
  - homepage: https://hufe.club/canvas-editor-docs (fetched 2026-08-29T08:56:43.451174+00:00, sha d074f48c4a81)
  - site_page: https://hufe.club/canvas-editor-docs/guide/start.html (fetched 2026-08-29T08:56:43.460034+00:00, sha 5bba9946ccc3)
  - site_page: https://hufe.club/canvas-editor-docs/guide/plugin-internal.html (fetched 2026-08-29T08:56:43.462089+00:00, sha 6bd38931961e)
  - site_page: https://hufe.club/canvas-editor-docs/guide/devtools.html (fetched 2026-08-29T08:56:43.464045+00:00, sha 3132bb8194b0)
  - site_page: https://hufe.club/canvas-editor-docs/en (fetched 2026-08-29T08:56:43.465742+00:00, sha e9442bab1cd0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
