← Back to list

editor-development
by nextblock-cms
The open-source core of NextBlock CMS. A high-performance, developer-first CMS built with Next.js 15, Supabase, and Tailwind. Features a Notion-style block editor, native multi-language support, and perfect Lighthouse scores. The modern alternative to WordPress.
⭐ 3🍴 0📅 Jan 14, 2026
SKILL.md
name: editor-development description: 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 (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(NotionEditorcomponent). - 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
- Install dependency if needed (e.g.,
@tiptap/extension-youtube). - Register in
libs/editor/src/lib/kit.ts. - 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 byRehypesanitization in the renderer. - See
docs/editor-context.mdfor 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).
Score
Total Score
70/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
✓説明文
100文字以上の説明がある
+10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon