Skip to content
Snippets Groups Projects
Commit 4a634f2c authored by Nicolas Bayet's avatar Nicolas Bayet
Browse files

[FIX] web_editor: prevent opening linktool on uneditable links


Before this commit
When trying to open the linktool on link that are not
`isContentEditable`, the linktool was initialized and not
showed in the sidebar.

After this commit
As it does not make sense to edit a link that is not editable,
prevent the linktool from being initialized in the first place.

task-2802592

closes odoo/odoo#87137

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