GitHub - michelson/Dante: Just another Medium wysiwyg editor clone

1 min read Original article ↗

Rollup Build

Dante is a block editor and renderer built on top of TipTap and ProseMirror. This repository contains the dante3 package and the Next.js website that powers the live demo and documentation.

What you get

  • A React editor surface with configurable blocks, tooltips, and themes
  • JSON and HTML content workflows
  • Renderer and parser helpers for non-editor surfaces
  • Built-in blocks for images, files, embeds, GIFs, dictation, and recorders

Install

Basic usage

import DanteEditor from "dante3";

export default function Example() {
  return <DanteEditor bodyPlaceholder="Write the next section" />;
}

Website

Run the local demo and docs site:

The site runs on http://localhost:8080.

Package build

Build the editor package:

Publish

Publish the package from the workspace:

Documentation

The public docs are backed by the MDX files in packages/dante3/docs.

License

MIT