Skip to content
Snippets Groups Projects
Commit 0a4eb266 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

Part-of: odoo/odoo#106772
parent 9659683d
No related branches found
No related tags found
Loading
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