@clepit/core
Clepit is a block-style editor with clean JSON output and a renderer that works with or without a browser. This package is the framework-agnostic core behind clepit.com: the editor, the renderer, and the theming engine, with no framework dependency.
Install
bun add @clepit/core
# or
npm install @clepit/core
Quick start
import { Editor } from '@clepit/core';
const editor = Editor.create({ containerId: 'editor', theme: 'auto' });
const data = editor.data.extract();
Documentation
The full documentation lives at clepit.com/docs and is rendered with this package:
- Getting started
- Core concepts
- Block types
- Inline tools
- Configuration
- Theming
- Rendering and embedding
- API reference
Using React? @clepit/react wraps this core in server-first components. Building with Dart or Flutter? clepit_core is the native twin.
License
MIT. See LICENSE.