Skip to content

How to edit the text of a hyperlink #994

@FranzDeschler

Description

@FranzDeschler

So far, I managed to implement a custom hyperlink segment and I am able to edit the text and the url of the hyperlink in a dialog window. But now I want to make editing the text even more simpler by just setting the cursor in the hyperlink segment and start typing.
But when I do this, the hyperlink segment is split into two separate hyperlinks and plain text between.

This behaviour is also reproducible in the Hyperlink Demo.

To reproduce this, simply run the demo with an editable textarea.
Place the carent in the middle of the hyperlink (using the arrow keys - clicking would open the link) and start typing.
You will end up with somethink like this:
grafik

Is there some way to edit the text of the hyperlink this way?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions