Package: blockeditor

Build block-based user interfaces — an embeddable, extensible block editor for Go apps.

Package: blockeditor

BlockEditor is an embeddable block-based editor for Go applications. Content is composed of typed blocks (text, image, list, embed, and custom types) serialized as JSON — similar in spirit to WordPress's Gutenberg editor.

Repository: https://github.com/dracory/blockeditor

Installation

go get github.com/dracory/blockeditor

Features

  • Embed the editor into any HTML page via a self-contained component.
  • Built-in block types plus support for custom block definitions.
  • JSON serialization for loading and saving documents.
  • Scoped CSS and isolated JavaScript so it can be dropped into existing layouts.

Where It Is Used

The CMS store (cmsstore) and the CMS block components in this project (internal/cmsblocks) build on blockeditor to provide content editing in the admin panel.