FEATURE: Document new link editor for readthedocs #5709
Merged
+198
−40
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The Neos UI ships with neos/neos-ui#3996 a new link editor. Its backwards-compatible to already set links and also supports the same options though in a different structure (see documentation).
Following legacy options should be rewritten to use the declaration in
linkTypesinstead. They will be upcasted (via neos/neos-ui#4037) at runtime if no new declaration inlinkTypesis made. Using new and old syntax simultaneously will lead to old syntax being ignored fully.assetsuselinkTypes.Asset.enabled: falseinstead to disabled asset linksnodesuselinkTypes.Node.enabled: falseinstead to disabled asset linksnodeTypesuselinkTypes.Node.baseNodeTypewith a NodeType filter string insteadstartingPointuselinkTypes.Node.startingPointinsteadplaceholderobsolete finds no application in the new link editor can be safely removedThe
anchoroption for the inline editor to enable anchor support was removed. Instead anchors can be set via the "Advanced Options" to both Asset and Node links. For Web links the anchor is naturally part of the full link input at all times.inline: editorOptions: linking: - anchor: true title: true relNofollow: true targetBlank: trueUpgrade instructions
Review instructions
Checklist
FEATURE|TASK|BUGFIX!!!and have upgrade-instructions