Resolve wikilinks to /s/<spaceSlug>/p/<slugId> via buildPageUrl instead of the inexistent /page/<uuid> route. Persist slugId and spaceSlug as node attributes so the URL can be rebuilt from the document alone, without an extra lookup round-trip. The client extension now .extend()s the shared WikilinkNode from @docmost/editor-ext to keep the schema identical between client and the Hocuspocus server. |
||
|---|---|---|
| .. | ||
| client | ||
| extension-clipper | ||
| server | ||