Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

editor-development

FreeNo executable scriptsNot checked

When you are working on the Tiptap v3 block editor. Use this for extending the editor, adding nodes, or debugging rich text issues.

nextblock-cmsby nextblock-cms★ 20 GitHub stars

About this skill

Editor Development (Tiptap v3)

1. Overview

  • Package: libs/editor (published as @nextblock-cms/editor).
  • Core: Tiptap v3 based (Headless).
  • Goal: Provide a Notion-style block editing experience.

2. Key Locations

  • Entrypoint: libs/editor/src/lib/editor.tsx (NotionEditor component).
  • Extensions: libs/editor/src/lib/kit.ts (Defines the editor schema: nodes, marks, extensions).
  • Toolbar: libs/editor/src/lib/components/menus/Toolbar.tsx.
  • Menus: libs/editor/src/lib/components/menus/ (Bubble, Floating, Slash menus).

3. Workflow

Adding a new Node/Extension

  1. Install dependency if needed (e.g., @tiptap/extension-youtube).
  2. Register in libs/editor/src/lib/kit.ts.
  3. If it needs a custom view, create a React component and use ReactNodeViewRenderer.

CSP Compliance

  • Strict CSP: The editor runs in a strict CSP environment.
  • Inline Styles: Avoid inline style="..." attributes if possible, or ensure they are handled by Rehype sanitization in the renderer.
  • See docs/03-CMS-AND-EDITOR.md for deep dive.

4. Build & Test

  • Build: nx build editor. Note: The build process injects 'use client'; directives.
  • Test: Manual QA required for rich text interactions (selection, shortcuts, menu positioning).

Install editor-development in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the editor-development skill do?

When you are working on the Tiptap v3 block editor. Use this for extending the editor, adding nodes, or debugging rich text issues.

How do I install the editor-development skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the editor-development skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare editor-development with