Add Word export, column dragging and the rest of editor parity
CI / go (Server) (push) Failing after 8m51s
CI / go (Web-App) (push) Successful in 11m46s
CI / mobile (push) Failing after 3m44s
CI / docker (push) Successful in 54m15s
Docs / build (push) Successful in 12m28s
Docs / deploy (push) Skipped
CI / frontend (push) Failing after 7m47s
CI / desktop (ubuntu-latest) (push) Successful in 1h27m22s
CI / desktop (macos-latest) (push) Canceled after 0s
CI / desktop (windows-latest) (push) Canceled after 0s
CI / go (Server) (push) Failing after 8m51s
CI / go (Web-App) (push) Successful in 11m46s
CI / mobile (push) Failing after 3m44s
CI / docker (push) Successful in 54m15s
Docs / build (push) Successful in 12m28s
Docs / deploy (push) Skipped
CI / frontend (push) Failing after 7m47s
CI / desktop (ubuntu-latest) (push) Successful in 1h27m22s
CI / desktop (macos-latest) (push) Canceled after 0s
CI / desktop (windows-latest) (push) Canceled after 0s
Word export: pages download as .docx from the page menu and from
GET /pages/{id}/export?format=docx. The file keeps headings, alignment,
lists, to-dos, quotes, callouts, code, tables with a repeating header
row, text formatting, colours, highlights, links and the page's images.
Word import now reads callouts, to-dos and shaded highlights, so a page
exported to Word imports back as it was. The user guide says how to move
pages to Notion, whose Import reads Word and Markdown files.
Editor:
- Columns move like rows: a grip on the column's top edge drags it, and
the table toolbar and Ctrl+Alt+Left/Right move it from the keyboard.
Row and column moving share tablemove.ts.
- Ctrl+Shift+C copies a link to the block the cursor is in.
- Headings 4 to 6 sit under "Other headings" in the slash menu; a search
still finds them directly.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d28f1e02db
commit
3dea2bb2f4
28 files changed
+1630
-432
No files matched your search
+6
-2
@@ -1794,14 +1794,16 @@ paths:
|
||||
get:
|
||||
operationId: exportPage
|
||||
tags: [pages]
|
||||
summary: Download the page as Markdown, HTML or PDF
|
||||
summary: Download the page as Markdown, HTML, PDF or Word
|
||||
description: >-
|
||||
Attachment links point at DOCWELL_PUBLIC_URL and need a file token to open.
|
||||
PDFs are A4 with a bookmark per heading; images stored on the page are drawn in,
|
||||
diagrams become a link to their file and Mermaid charts show their source.
|
||||
Word files (docx) embed the page's images the same way and keep headings, lists,
|
||||
to-dos, callouts, tables, colours and alignment in a form Docwell imports back.
|
||||
security: [{ bearer: [] }]
|
||||
parameters:
|
||||
- { name: format, in: query, schema: { type: string, enum: [markdown, html, pdf], default: markdown } }
|
||||
- { name: format, in: query, schema: { type: string, enum: [markdown, html, pdf, docx], default: markdown } }
|
||||
responses:
|
||||
"200":
|
||||
description: The file
|
||||
@@ -1812,6 +1814,8 @@ paths:
|
||||
schema: { type: string }
|
||||
application/pdf:
|
||||
schema: { type: string, format: binary }
|
||||
application/vnd.openxmlformats-officedocument.wordprocessingml.document:
|
||||
schema: { type: string, format: binary }
|
||||
"400": { $ref: "#/components/responses/Error" }
|
||||
"404": { $ref: "#/components/responses/Error" }
|
||||
/api/v1/spaces/{id}/import:
|
||||
|
||||
Reference in new issue
Block a user