dorfteich/packages/shared/src/editor-schema
Claude Fable 5 79376bcdd1 Give wikilinks a relative href in static/public HTML
The content-cache renderer (docToHtml) emitted wikilinks without an
href, so on the read-only public page view they rendered as styled but
unclickable text. Emit href="<slug>" — relative to the current page URL,
it resolves to the sibling page under both /public/<pond>/… and the
in-app /p/<pond>/… version-history preview, without the renderer needing
pond context. Slugs are [a-z0-9-], safe as a bare path segment.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EwZ4jR4KFAPvpjWevfUGX1
2026-07-12 23:50:16 +02:00
..
export-fallbacks.test.ts Degrade plugin content gracefully in HTML, PDF, and office exports (#79) 2026-07-11 14:13:09 +02:00
export-fallbacks.ts Degrade plugin content gracefully in HTML, PDF, and office exports (#79) 2026-07-11 14:13:09 +02:00
html.test.ts Give wikilinks a relative href in static/public HTML 2026-07-12 23:50:16 +02:00
html.ts Give wikilinks a relative href in static/public HTML 2026-07-12 23:50:16 +02:00
index.ts Degrade plugin content gracefully in HTML, PDF, and office exports (#79) 2026-07-11 14:13:09 +02:00
markdown.test.ts Add block plugins: plugin_block node with sandboxed rendering and editing (#76) 2026-07-11 12:45:14 +02:00
markdown.ts Add block plugins: plugin_block node with sandboxed rendering and editing (#76) 2026-07-11 12:45:14 +02:00
outline.test.ts Add editor document schema in packages/shared (#24) 2026-07-05 21:59:12 +02:00
outline.ts Add editor document schema in packages/shared (#24) 2026-07-05 21:59:12 +02:00
plain-text.test.ts Add editor document schema in packages/shared (#24) 2026-07-05 21:59:12 +02:00
plain-text.ts Add wikilink node with autocomplete (#46) 2026-07-09 12:42:01 +02:00
schema.test.ts Add editor document schema in packages/shared (#24) 2026-07-05 21:59:12 +02:00
schema.ts Add block plugins: plugin_block node with sandboxed rendering and editing (#76) 2026-07-11 12:45:14 +02:00
wikilinks.test.ts Add wikilink index, backlinks API, and phantom resolution (#47) 2026-07-09 12:54:10 +02:00
wikilinks.ts Add wikilink index, backlinks API, and phantom resolution (#47) 2026-07-09 12:54:10 +02:00