v0.1.1 · React · Vue · Svelte

The rich-text editor that blooms in any framework

BaBloom is a framework-agnostic TypeScript editor core with an extension-first architecture, image uploads and one consistent API across React, Vue and Svelte.

npm install @tlob/babloom-core @tlob/babloom-react

Built for real products

Framework agnostic

The core never imports React, Vue or Svelte. Adapters are thin.

Extension first

Marks, nodes, keymaps and input rules are all plain extensions.

JSON document model

Structured nodes and marks, with HTML and text serialization.

Image uploads

Pick, drop or paste. Validation built in, storage is yours.

Shortcuts & Markdown

Mod-B, Mod-Alt-1, plus `# `, `- ` and `> ` input rules.

Typed & tiny

Written in TypeScript, ESM only, tree-shakeable, zero runtime deps.

One API, three frameworks

Adapters only handle mounting and reactivity. Commands, extensions and serialization are identical everywhere, so your editor features port for free.

tsx
import { StarterKit, ImageExtension } from "@tlob/babloom-core";
import { useEditor } from "@tlob/babloom-react";

const { editor, ref } = useEditor({
  extensions: [
    StarterKit(),
    ImageExtension({ maxSize: 5_000_000, upload: uploadImage }),
  ],
  onUpdate: ({ editor }) => save(editor.getJSON()),
});