Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

editor-development

БесплатноБез исполняемых скриптовНе проверен

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

nextblock-cmsот nextblock-cms★ 20 звёзд на GitHub

Об этом скилле

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).

Установить editor-development в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл editor-development?

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

Как установить скилл editor-development?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл editor-development запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить editor-development с