FeatureFuel
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.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests