I guess the property path is missing for the path picker. we should extratct the current value based on the link type from the datat attributes and set the path property
The data attributes are addressable viaconfig.parameters.editorKernel.currentAnalyzedSelection.anchors.dom.dataset
I solved the issue on this branch:
But there is a major problem: the link dialog of the RTE is initiated only “once”. this means, the path picker works fine for the first inline link you edit. But in case you have several links in your richtext - which is quite common - the path picker shows wrong paths.
wdt? is this a by-design issue?
thanks for the PR - yes, it is by design that the link dialog is only initialized once. the values of the selected link are inserted dynamically.
i poked a bit around in the implementation of the OOTB link dialog and found a much simpler solution which does not has the mentioned problem: