Autumn Note
A zero-dependency WYSIWYG editor — no jQuery, no framework required.
Almost every internal system has one place that needs formatted input: a CMS, a knowledge base, a support form, an email composer. The familiar options all carry a cost — Summernote needs jQuery, TinyMCE and Froala charge for advanced features, and all of them are heavy for a component that shows up everywhere in a product. Autumn Note is written in plain vanilla ES2022 JavaScript and ships both an ES Module (tree-shakeable) and a UMD build usable straight from a script tag, with TypeScript definitions included.
- Markdown shortcuts — typing
#,>or-then a space becomes a heading, blockquote, or list - A bubble toolbar that floats above the current selection, cutting the distance your eyes travel
- @mention autocomplete via an
onSearchcallback — tag a user or link to an entity in your system - Find & Replace with regex mode (Ctrl+F / Ctrl+H) — usually missing from lightweight editors
- A DOM-based sanitizer on paste, on
setHTML(), and before export — strips<script>,on*attributes,javascript:URLs - Auto-save to localStorage with a restore banner, plus inline image crop and resize
- Eight built-in locales including Vietnamese; since v2.0.0 each is importable on its own via
autumnnote/i18n/vi, with type declarations
Replaces: Summernote · Quill · TinyMCE · Froala · CKEditor
npm install autumnnoteimport AutumnNote from "autumnnote";
const editor = AutumnNote.create("#editor", { height: 300 });
editor.setHTML("<p>Xin chào</p>");autumnnote-react v2.0.0Vue 3 · autumnnote-vue v2.0.0