mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-18 17:05:48 +00:00
A document-mode plugin under packages/plugin-dev/document-mode/ that renders the active work context's tasks as an editable TipTap document. Per-context doc state is persisted as a last-writer-wins JSON blob via PluginAPI.persistDataSynced; task identity (title, done state, hierarchy) stays in NgRx and is reached through PluginAPI.updateTask and the ANY_TASK_UPDATE hook. It registers a work-context header button and embeds itself into the work-view embed slot added in the preceding commit. See docs/plans/2026-05-21-document-mode-tiptap-plugin.md for the full design. Squashed from the feat/doc-mode-v4 work; full per-step history is preserved in the archive/doc-mode-v4-full-history branch and the doc-mode-v4-pre-squash tag.
26 lines
780 B
JSON
26 lines
780 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",
|
|
"test": "node scripts/test.js"
|
|
},
|
|
"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"
|
|
}
|
|
}
|