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

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:
tajniak81andClaude Opus 5.5 committed 2026-11-14 13:01:06 +01:00
1 parent d28f1e02db
commit 3dea2bb2f4
28 files changed
+1630 -432

No files matched your search

+11 -3
View File
@@ -283,6 +283,7 @@
"exportMarkdown": "Als Markdown exportieren",
"exportHtml": "Als HTML exportieren",
"exportPdf": "Als PDF exportieren",
"exportDocx": "Als Word exportieren",
"backlinks": "Verlinkt von {n} Seite | Verlinkt von {n} Seiten",
"find": "Suchen und ersetzen",
"fullWidth": "Volle Breite",
@@ -496,17 +497,21 @@
"label": "Linkkarte",
"description": "Ein Link mit Titel und Bild seiner Seite"
},
"otherHeadings": {
"label": "Weitere Überschriften",
"description": "Überschriften 4 bis 6"
},
"h4": {
"label": "Überschrift 4",
"description": "Weitere Überschriften: Ebene 4"
"description": "Eine Überschrift unter Ebene 3"
},
"h5": {
"label": "Überschrift 5",
"description": "Weitere Überschriften: Ebene 5"
"description": "Eine Überschrift unter Ebene 4"
},
"h6": {
"label": "Überschrift 6",
"description": "Weitere Überschriften: Ebene 6"
"description": "Die kleinste Überschrift"
},
"todo": {
"label": "Aufgabenliste",
@@ -604,8 +609,11 @@
"table": {
"toolbar": "Tabelle",
"dragRow": "Ziehen, um die Zeile zu verschieben",
"dragColumn": "Ziehen, um die Spalte zu verschieben",
"moveRowUp": "Zeile nach oben",
"moveRowDown": "Zeile nach unten",
"moveColumnLeft": "Spalte nach links",
"moveColumnRight": "Spalte nach rechts",
"addRowBefore": "Zeile darüber",
"addRowAfter": "Zeile darunter",
"addColumnBefore": "Spalte links",
+11 -3
View File
@@ -283,6 +283,7 @@
"exportMarkdown": "Export as Markdown",
"exportHtml": "Export as HTML",
"exportPdf": "Export as PDF",
"exportDocx": "Export as Word",
"backlinks": "Linked from {n} page | Linked from {n} pages",
"find": "Find and replace",
"fullWidth": "Full width",
@@ -496,17 +497,21 @@
"label": "Link card",
"description": "A link with its page's title and picture"
},
"otherHeadings": {
"label": "Other headings",
"description": "Headings 4 to 6"
},
"h4": {
"label": "Heading 4",
"description": "Other headings: level 4"
"description": "A heading below level 3"
},
"h5": {
"label": "Heading 5",
"description": "Other headings: level 5"
"description": "A heading below level 4"
},
"h6": {
"label": "Heading 6",
"description": "Other headings: level 6"
"description": "The smallest heading"
},
"todo": {
"label": "To-do list",
@@ -604,8 +609,11 @@
"table": {
"toolbar": "Table",
"dragRow": "Drag to move the row",
"dragColumn": "Drag to move the column",
"moveRowUp": "Move row up",
"moveRowDown": "Move row down",
"moveColumnLeft": "Move column left",
"moveColumnRight": "Move column right",
"addRowBefore": "Add row above",
"addRowAfter": "Add row below",
"addColumnBefore": "Add column left",
+11 -3
View File
@@ -283,6 +283,7 @@
"exportMarkdown": "Exportar como Markdown",
"exportHtml": "Exportar como HTML",
"exportPdf": "Exportar como PDF",
"exportDocx": "Exportar como Word",
"backlinks": "Enlazada desde {n} página | Enlazada desde {n} páginas",
"find": "Buscar y reemplazar",
"fullWidth": "Ancho completo",
@@ -496,17 +497,21 @@
"label": "Tarjeta de enlace",
"description": "Un enlace con el título y la imagen de su página"
},
"otherHeadings": {
"label": "Otros encabezados",
"description": "Encabezados 4 a 6"
},
"h4": {
"label": "Encabezado 4",
"description": "Otros encabezados: nivel 4"
"description": "Un encabezado bajo el nivel 3"
},
"h5": {
"label": "Encabezado 5",
"description": "Otros encabezados: nivel 5"
"description": "Un encabezado bajo el nivel 4"
},
"h6": {
"label": "Encabezado 6",
"description": "Otros encabezados: nivel 6"
"description": "El encabezado más pequeño"
},
"todo": {
"label": "Lista de tareas",
@@ -604,8 +609,11 @@
"table": {
"toolbar": "Tabla",
"dragRow": "Arrastra para mover la fila",
"dragColumn": "Arrastra para mover la columna",
"moveRowUp": "Subir fila",
"moveRowDown": "Bajar fila",
"moveColumnLeft": "Mover columna a la izquierda",
"moveColumnRight": "Mover columna a la derecha",
"addRowBefore": "Fila encima",
"addRowAfter": "Fila debajo",
"addColumnBefore": "Columna a la izquierda",
+11 -3
View File
@@ -283,6 +283,7 @@
"exportMarkdown": "Exporter en Markdown",
"exportHtml": "Exporter en HTML",
"exportPdf": "Exporter en PDF",
"exportDocx": "Exporter en Word",
"backlinks": "Liée depuis {n} page | Liée depuis {n} pages",
"find": "Rechercher et remplacer",
"fullWidth": "Pleine largeur",
@@ -496,17 +497,21 @@
"label": "Carte de lien",
"description": "Un lien avec le titre et l’image de sa page"
},
"otherHeadings": {
"label": "Autres titres",
"description": "Titres 4 à 6"
},
"h4": {
"label": "Titre 4",
"description": "Autres titres : niveau 4"
"description": "Un titre sous le niveau 3"
},
"h5": {
"label": "Titre 5",
"description": "Autres titres : niveau 5"
"description": "Un titre sous le niveau 4"
},
"h6": {
"label": "Titre 6",
"description": "Autres titres : niveau 6"
"description": "Le plus petit titre"
},
"todo": {
"label": "Liste de tâches",
@@ -604,8 +609,11 @@
"table": {
"toolbar": "Tableau",
"dragRow": "Glisser pour déplacer la ligne",
"dragColumn": "Glisser pour déplacer la colonne",
"moveRowUp": "Monter la ligne",
"moveRowDown": "Descendre la ligne",
"moveColumnLeft": "Colonne à gauche",
"moveColumnRight": "Colonne à droite",
"addRowBefore": "Ligne au-dessus",
"addRowAfter": "Ligne en dessous",
"addColumnBefore": "Colonne à gauche",
+11 -3
View File
@@ -283,6 +283,7 @@
"exportMarkdown": "Eksportuj jako Markdown",
"exportHtml": "Eksportuj jako HTML",
"exportPdf": "Eksportuj jako PDF",
"exportDocx": "Eksportuj jako Word",
"backlinks": "Linkuje tu {n} strona | Linkują tu {n} strony | Linkuje tu {n} stron",
"find": "Znajdź i zamień",
"fullWidth": "Pełna szerokość",
@@ -496,17 +497,21 @@
"label": "Karta linku",
"description": "Link z tytułem i obrazkiem strony"
},
"otherHeadings": {
"label": "Inne nagłówki",
"description": "Nagłówki od 4 do 6"
},
"h4": {
"label": "Nagłówek 4",
"description": "Inne nagłówki: poziom 4"
"description": "Nagłówek poniżej poziomu 3"
},
"h5": {
"label": "Nagłówek 5",
"description": "Inne nagłówki: poziom 5"
"description": "Nagłówek poniżej poziomu 4"
},
"h6": {
"label": "Nagłówek 6",
"description": "Inne nagłówki: poziom 6"
"description": "Najmniejszy nagłówek"
},
"todo": {
"label": "Lista zadań",
@@ -604,8 +609,11 @@
"table": {
"toolbar": "Tabela",
"dragRow": "Przeciągnij, aby przenieść wiersz",
"dragColumn": "Przeciągnij, aby przenieść kolumnę",
"moveRowUp": "Wiersz wyżej",
"moveRowDown": "Wiersz niżej",
"moveColumnLeft": "Kolumna w lewo",
"moveColumnRight": "Kolumna w prawo",
"addRowBefore": "Wiersz powyżej",
"addRowAfter": "Wiersz poniżej",
"addColumnBefore": "Kolumna z lewej",
+2 -1
View File
@@ -380,7 +380,7 @@ const toggleFavorite = () =>
if (page.value?.id === p.id) page.value = { ...page.value, favorite: !p.favorite };
});
const exportAs = (format: "markdown" | "html" | "pdf") =>
const exportAs = (format: "markdown" | "html" | "pdf" | "docx") =>
run(async () => {
// Save first, so the file has the latest title.
await saveTitle();
@@ -429,6 +429,7 @@ const menu = computed<MenuItem[]>(() => [
{ label: t("page.exportMarkdown"), icon: "download", onSelect: () => exportAs("markdown") },
{ label: t("page.exportHtml"), icon: "download", onSelect: () => exportAs("html") },
{ label: t("page.exportPdf"), icon: "download", onSelect: () => exportAs("pdf") },
{ label: t("page.exportDocx"), icon: "download", onSelect: () => exportAs("docx") },
]);
const addChild = () =>