Skip to content
gpdoc
Playground

Overview

Use gpdoc to edit ProseMirror and Tiptap documents in a GPUI app.

gpdoc is a rich-text editor framework for GPUI. If your app already uses ProseMirror or Tiptap, its web editor and your GPUI app can read and write the same document JSON. Enable the gpdoc plugins that match the content in your documents.

When you port a Tiptap extension, keep the node names and attributes your documents already use. Define each editing command as a Rust type and register its handler in the plugin.