Plugin-oriented document editors
on-codemerge is a family of editors on one JSON document kernel. Toolbar, menus and popups live in the core; features come as plugins. Mount it in any framework or plain HTML.
Try it
Every product below is the real editor from this repository. Only the active one is mounted.
What you get
Two minutes to the first editor
Install the package, import the CSS and mount an Editor with the default plugin set.
pnpm add on-codemerge
import 'on-codemerge/index.css';
import 'on-codemerge/public.css';
import { Editor, createDefaultPlugins } from 'on-codemerge';
const editor = new Editor(document.getElementById('app')!, {
plugins: createDefaultPlugins(),
});
await editor.setLocale('en');
editor.setHTML('<p>Hello</p>');