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

[FIX] web_editor: show the correct alignment in toolbar when in link


The `align` command applies the alignment to the closest block of the
selected node. Bootstrap sets the default alignment of `.btn` to
`center` but we don't support links with a width that is larger than
their contents so that alignment is not visible. For these two reasons,
we want the toolbar to show the alignment of a link's closest block
rather than that of the link itself.

closes odoo/odoo#106772

Signed-off-by: default avatarDavid Monjoie (dmo) <dmo@odoo.com>
parent 0a4eb266
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