super-productivity/packages/plugin-dev/document-mode/package.json
Johannes Millan 73487e5c17 feat(document-mode): Notion-style UX (gutter, bubble menu, block menu)
Layer Notion-like interaction on top of the TipTap editor:
- Block hover gutter on the left margin with `+` (insert below + open
  slash menu) and `⋮⋮` (select node and open block menu) buttons.
- Bubble menu on text selection with Bold / Italic / Strike / Code
  (via @tiptap/extension-bubble-menu).
- Slash menu shows icons next to labels, supports keyboard nav, and
  now includes bullet list, numbered list, quote, code block, and
  divider in addition to paragraph / headings / new task.
- Block menu (from ⋮⋮) offers turn-into for paragraph + H1-H3,
  duplicate, and delete.
- Tighter CSS — Material Icons via Google Fonts, cleaner spacing
  matching Notion-style density, selectednode highlight on taskRef.
2026-05-21 17:34:13 +02:00

25 lines
744 B
JSON

{
"name": "document-mode",
"version": "0.1.0",
"description": "Document-style editor for projects and Today using TipTap",
"private": true,
"scripts": {
"build": "node scripts/build.js",
"deploy": "npm run build && node scripts/deploy.js",
"lint": "tsc --noEmit"
},
"devDependencies": {
"@types/node": "^22.15.33",
"esbuild": "^0.25.11",
"typescript": "^5.8.3"
},
"dependencies": {
"@super-productivity/plugin-api": "file:../../plugin-api",
"@tiptap/core": "^2.10.0",
"@tiptap/extension-bubble-menu": "^2.27.2",
"@tiptap/extension-floating-menu": "^2.27.2",
"@tiptap/extension-placeholder": "^2.10.0",
"@tiptap/starter-kit": "^2.10.0",
"@tiptap/suggestion": "^2.10.0"
}
}