Launching today
RectorJS
A modern block editor for any web application
6 followers
A modern block editor for any web application
6 followers
RectorJS is an open-source, framework-agnostic block editor for building structured content experiences. It includes extensible blocks, inline tools, drag-and-drop, atomic undo/redo, versioned JSON, and production-ready document rendering.

The versioned JSON output is a nice touch for syncing drafts across sessions without losing layout state. Drag-and-drop felt responsive on a large doc with mixed block types.
@sevdauruciq5s Thanks! Rector stores the ordered document — including stable block IDs, plugin data, block settings, and inline widgets — in a versioned JSON schema, so drafts can be persisted and restored reliably across sessions. The schema version handles compatibility and migrations, while autosave, synchronization, and conflict resolution remain under the host application’s control. Glad drag-and-drop stayed responsive on a large document with mixed block types.
The undo and redo working at the block level instead of the whole document would be a huge win for content editors, especially when rearranging a long article. Right now undoing one drag accidentally drops several other edits I made after, which makes me nervous about saving too early.
@sat477669931529 Thanks — this is an important distinction. Rector currently uses a single chronological history for the document. Each drag is recorded as one atomic move, while rapid text input is coalesced into short typing groups. A move cannot currently be undone selectively while preserving edits made afterward.
When you say undoing the drag dropped several later edits, did that happen with a single Undo, or while stepping back through the later history entries to reach the move? The first could indicate a history-boundary issue; the second is the current global-history model. Block-scoped or selective undo is not supported yet, but your long-article use case is a strong argument for it.