Skip to content
Snippets Groups Projects
Commit 53ef2528 authored by Nicolas Lempereur's avatar Nicolas Lempereur
Browse files

[FIX] web_editor: enter at A edge no dup link


In the editor, when you write a letter at the end or beginning of a link
it is written outside the link. But if you press "Enter", we get on a
newline with an empty link duplicated on the new line.

This is caused by the custom code handling "Enter" keypress.

With this changeset, in this situation we place the range just before
the beginning or after the end of a link.

opw-1724606
opw-2042097
closes #35188

Signed-off-by: default avatarNicolas Lempereur (nle) <nle@odoo.com>
parent 30a91203
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment