Editor:
- Toggles (Tiptap Details). Open state is per reader, not saved.
- Embeds for YouTube, Vimeo, Loom, Figma, CodePen, Spotify, Google Docs
and Maps, in sandboxed frames. Other addresses become link cards.
- Link cards with title, description and picture read by docwell-server
(GET /link-preview). The fetcher refuses private, loopback, link-local
and CGNAT addresses after DNS resolution, redirects included.
- Block links: a margin button gives a block a short id and copies
/p/<id>#b-<block>. Opening one jumps to the block and flashes it.
- Markdown, HTML and PDF exports handle the new blocks; HTML import reads
<details> as a toggle.
Pages and spaces:
- History gets a Changes view: block and word diff against the previous
version or the page as it is now.
- Archive: archived pages leave the tree and become read-only but stay
readable; a space's Archive lists them with Unarchive. New migration
(pages.archived_at) and page.archived / page.unarchived webhook events.
- Full space export (GET /spaces/{id}/export): a zip of Markdown or HTML
files with subpages in folders, an index, and attachments under _files/.
Links between exported pages and to attachments become relative paths.
Desktop 1.0:
- Several servers, each with its own sign-in; old settings files carry over.
- Session tokens in the system keychain (go-keyring), moved out of
localStorage on first start.
- Native menu bar (File, Edit, View, Window, Help) with a Server submenu.
- docwell:// links may point at a block.
- Release workflow builds Windows NSIS, macOS DMG and Linux deb, rpm and
AppImage installers and attaches them to the release;
build/set-version.mjs stamps the version into their metadata.
Not yet run: the release workflow, the desktop menus by eye, and macOS or
Linux builds.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
48 lines
1.3 KiB
JSON
48 lines
1.3 KiB
JSON
{
|
|
"name": "@docwell/editor",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"license": "AGPL-3.0-or-later",
|
|
"type": "module",
|
|
"main": "./src/index.ts",
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./extensions": "./src/extensions.ts",
|
|
"./provider": "./src/provider.ts",
|
|
"./editor.css": "./src/editor.css"
|
|
},
|
|
"dependencies": {
|
|
"@docwell/ui": "*",
|
|
"@excalidraw/excalidraw": "^0.18.1",
|
|
"@floating-ui/dom": "^1.8.0",
|
|
"@tiptap/core": "^3.32.2",
|
|
"@tiptap/extension-bubble-menu": "^3.32.2",
|
|
"@tiptap/extension-collaboration": "^3.32.2",
|
|
"@tiptap/extension-collaboration-caret": "^3.32.2",
|
|
"@tiptap/extension-details": "^3.32.2",
|
|
"@tiptap/extension-image": "^3.32.2",
|
|
"@tiptap/extension-mathematics": "^3.32.2",
|
|
"@tiptap/extension-mention": "^3.32.2",
|
|
"@tiptap/extensions": "^3.32.2",
|
|
"@tiptap/pm": "^3.32.2",
|
|
"@tiptap/starter-kit": "^3.32.2",
|
|
"@tiptap/suggestion": "^3.32.2",
|
|
"@tiptap/vue-3": "^3.32.2",
|
|
"@tiptap/y-tiptap": "^3.0.12",
|
|
"katex": "^0.18.10",
|
|
"lib0": "^0.2.119",
|
|
"mermaid": "^12.2.0",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"y-protocols": "^1.0.7",
|
|
"yjs": "^13.6.33"
|
|
},
|
|
"peerDependencies": {
|
|
"vue": "^3.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^18.3.31",
|
|
"@types/react-dom": "^18.3.7"
|
|
}
|
|
}
|