The current implementation of hyperlinks in the example-setup is adding/removing (and not updating) links. I want to make it possible to edit the properties of the link. I have been looking at the way image nodes are implemented.
But, link properties are part of a mark. So, I was thinking of using something like
rangeGetMark()) to find the actual mark that contains the link properties, and use these properties to pre-fill the fields in
openPrompt(). Is this a sensible approach, or am I missing some convenient API call?