DEV Community

Cover image for Yace: Tiny Extensible Code Editor for the Browser
jQueryScript
jQueryScript

Posted on

Yace: Tiny Extensible Code Editor for the Browser

Yace is a tiny (under 2KB) code editor that upgrades a plain textarea with syntax highlighting, undo/redo, bracket pairing, and custom rendering — all through a pipeline of plugins and highlighters.

  • Real <textarea> underneath keeps native caret, IME, and accessibility.
  • Works with any framework: vanilla JS, React, Vue.
  • Tree-shakeable, zero dependencies.
  • Write your own plugin or highlighter in a handful of lines.

Perfect for documentation playgrounds, Markdown editors, AI prompt inputs, and any place where a full IDE would be overkill.

👉 Blog Post

👉 GitHub Repo

👉 Live Demo

Top comments (0)