summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/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/web_editor/static/src/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/web_editor/static/src/xml')
-rw-r--r--addons/web_editor/static/src/xml/wysiwyg.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web_editor/static/src/xml/wysiwyg.xml b/addons/web_editor/static/src/xml/wysiwyg.xml
index 2330629a93b..424f8e5df18 100644
--- a/addons/web_editor/static/src/xml/wysiwyg.xml
+++ b/addons/web_editor/static/src/xml/wysiwyg.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<templates id="template" xml:space="preserve">
-
+
<!--=================-->
<!-- Edition Dialogs -->
<!--=================-->
@@ -263,7 +263,7 @@
<input type="text" name="label" class="form-control" id="o_link_dialog_label_input" required="required" t-att-value="widget.data.text"/>
</div>
</div>
- <div class="form-group row">
+ <div class="form-group row o_url_input">
<label class="col-form-label col-md-3" for="o_link_dialog_url_input">URL or Email</label>
<div class="col-md-9">
<input type="text" name="url" class="form-control" id="o_link_dialog_url_input" required="required"/>