Skip to content

Selecting a word to create a link with a double click causes the link to be appended to the start of the text. #504

@morpheus-87

Description

@morpheus-87

When I have the text hello in my text block, the DOM tree looks like

<div contenteditable="true" class="st-text-block">
  <p>
    hello<br>
  </p>
</div>

When I then select the text and add a link to http://google.de, the resulting DOM tree is

<div contenteditable="true" class="st-text-block">
  <p>
    <a href="http://google.de">
      http://google.de
    </a>
    hello<br>
  </p>
</div>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions