Skip to content
Snippets Groups Projects
Commit 76e1e44b authored by Antoine Guenet's avatar Antoine Guenet
Browse files

[FIX] web_editor: properly apply alignment to links

When the selection was in a link, the alignment buttons didn't work.
That is because they are supposed to align the parent paragraph, which
is temporarily in a contenteditable=false context when the selection is
in a link. This restores the context before applying an editor command,
and restores it afterwards.

task-3083748

X-original-commit: 0a4eb266
Part-of: odoo/odoo#107150
parent 67694561
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment