52
Internal Linking Solution
Source: directus/directus#18537 · opened by @cbratschi
Summary Looking for a solution to add internal links to other or the same collection in Directus. Currently only plain URLs are supported by the TinyMCE dialog. Basic Example Directus shall support internal stateless linking in WYSIWYG fields by introducing the following URL schema: directus://<collection name>/<item id>. An dialog shall be added which allows the selection of the collection and its items. It is up to the user to parse and convert such URIs. Motivation Internal linking is a fundamental feature. Hard coding URLs breaks the statelessness of Directus: URLs only work on the target frontend system they were written for e.g. staging URLs are different than production URLs. This approach always easy migration of a staging system to production. Detailed Design URI scheme: directus://<collection name>/<item id> Where both the collection name and the item ID are URL encoded. Requirements List Must Have: • Add TinyMCE link dialog whic…
No pledges yet. Be the first to back this.
Comments
Similar requests
Map OpenID groups to internal Directus groups
1 vote · 0 comments
Sane Image Size - Auto Reduction
19 votes · 0 comments
Data Studio Date Validation Erroring
0 votes · 0 comments
Flows: Allow linking to the same operation many times
60 votes · 0 comments
WYSIWYG "Add/Edit Link" function allows linking to directus files
57 votes · 0 comments
No comments yet.