Skip to content

Rector

A browser-native editor for structured content. Rector combines extensible blocks, inline formatting, atomic undo and redo, versioned JSON, and production-ready document rendering.

Everything you need

Block Architecture

Independent editable blocks with explicit serialization, validation, lifecycle, and document renderer contracts.

21 Block Plugins

Paragraph, media, carousels, tables, layouts, polls, people, attachments, previews, and more — each individually importable.

Inline Tools

Twelve default tools for formatting, links, code, color, font size, alignment, scripts, case, and cleanup.

Drag & Drop

Reorder blocks with keyboard-accessible controls, drag handles, selection, and configurable animation.

Undo / Redo

One completed action is one ordered history step across formatting, widgets, paste, split/merge, and block commands.

Versioned JSON

A stable document contract with deterministic migrations, validation modes, and plugin-owned data.

i18n

Built-in English and Russian dictionaries with scoped localization contracts for extensions.

Themes

Light and dark editor themes built on CSS custom properties and runtime-selectable appearance.

Framework Agnostic

Browser-native ESM that integrates with any application stack without coupling the editor to a UI framework.

21 blocks, ready to use

Paragraph
Heading
List
Quote
Code
Image
Gallery
Carousel
Embed
Table
Attaches
Checklist
Toggle
Columns
Spoiler
Warning
Delimiter
Poll
Person
Link Preview
Raw HTML

Try it right here

Edit a real Rector document, try block and inline tools, inspect serialized JSON, and compare the result in renderer mode.

Support the project

If Rector is useful to you, give it a star on GitHub. It helps the project grow.

Star on GitHub

Rector is released under the MIT License.