- Migrate renderer from md-editor/md-format to a Tiptap-based native editor (native-doc pipeline: native-doc, markdown-to-native, native-to-markdown, native-assembly, migration, backup) - Use pointer-event-based chapter reordering with grab/grabbing cursors to avoid the Wayland prohibited-drop cursor while preserving reordering - Add a persistent Home button that closes the open book and returns to the Folio library/welcome screen - Update app icons, package deps, theme styles, and tests
9 lines
649 B
TypeScript
9 lines
649 B
TypeScript
// Headless automated test for the Tiptap editor integration (Stage 3).
|
|
// Verifies: editor command -> ProseMirror JSON state -> native persistence ->
|
|
// reload round-trip, plus loading a Markdown-migrated document into the editor.
|
|
//
|
|
// Run with: node tests/run-editor-test.mjs
|
|
export { createTiptapEditor, runCommand, getEditorDoc, setEditorDoc } from "../src/renderer/tiptap-editor.ts";
|
|
export { setChapterDoc, getChapterDoc, parseChapter, CURRENT_DOC_SCHEMA_VERSION } from "../src/main/native-doc.ts";
|
|
export { createBook, loadBook, saveMeta } from "../src/main/project.ts";
|
|
export { markdownToNative } from "../src/main/markdown-to-native.ts";
|