Skip to content
This repository was archived by the owner on Nov 28, 2025. It is now read-only.

Latest commit

 

History

History
43 lines (31 loc) · 763 Bytes

File metadata and controls

43 lines (31 loc) · 763 Bytes

@farbenmeer/editor

Hopefully one we can actually use across projects.

Usage

This project is under construction. DO NOT USE THIS.

A future API might look like this:

Setup

pnpm add @farbenmeer/editor
import { Editor, imagePlugin } from "@farbenmeer/editor"

<Editor plugins={[imagePlugin]} onChange={(content) => doStuffWith(content)} />

Development

Setup

Three commands so far:

pnpm i

to install dependencies.

pnpm build

(which just runs tsc) to build a production build. Output ends up in the dist folder.

pnpm dev

(which runs next dev for the example project in the app-folder)

Styling

For now all styles go into editor.css and we just use plain CSS with no magic.