summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml/website.editor.xml
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2019-01-18 10:47:49 +0000
committerqsm-odoo <qsm@odoo.com>2019-01-18 10:50:39 +0000
commit6772c6ce3428d637f259fce98cf55e29c7b39439 (patch)
tree1efd7032994b3448c366ca36bd388256baac6f85 /addons/website/static/src/xml/website.editor.xml
parent139595d4415a49006489c1e1e090d919583a6e33 (diff)
[FIX] web_editor, website: restore anchor link feature
Following the new editor's merge at https://github.com/odoo/odoo/commit/22efdfbecc1e8c688000be98903a5a355d1ece8a, the anchor link feature was not working anymore. This commit also fixes a feature behavior: when editing a link which already contained an URL, the anchor field was not shown directly. closes odoo/odoo#30346
Diffstat (limited to 'addons/website/static/src/xml/website.editor.xml')
-rw-r--r--addons/website/static/src/xml/website.editor.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/website/static/src/xml/website.editor.xml b/addons/website/static/src/xml/website.editor.xml
index 552c0b26ada..f636ad3d2dd 100644
--- a/addons/website/static/src/xml/website.editor.xml
+++ b/addons/website/static/src/xml/website.editor.xml
@@ -86,7 +86,8 @@
<span t-attf-class="o_color_preview bg-#{color}"/>
</button>
</t>
- <t t-extend="web_editor.dialog.link">
+
+ <t t-extend="wysiwyg.widgets.link">
<t t-jquery="#o_link_dialog_url_input" t-operation="after">
<small class="form-text">Hint: Type '/' to link to an existing page and '#' to an anchor.</small>
</t>