summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2015-03-13 13:37:08 +0100
committerOlivier Dony <odo@openerp.com>2015-03-13 13:44:06 +0100
commit7eec97a5849befba560111bf59c73f7fbee1ce53 (patch)
tree2c866680590113f8cc492a8a14379beeab32de1e /addons/website/static/src/xml
parente93ead9093fb194b8d6fde57f510d56bc0cc3e33 (diff)
[FIX] website, mass_mailing: restore original FieldTextHtml widget -> FieldTextHtmlFrame only for mass_mailing
The new `summernote in iframe` version of the FieldTextHtml widget is not ready for prime time yet. Usability is not very good when used as a replacement for the previous html editor, especially in email composer windows, and initial loading is very slow. For now we only enable it as FieldTextHtmlFrame for mass_mailing templates, where isolation of the style is important (so that recipients receive the exact same result as was displayed on screen, without side-effects caused by backend/frontend style) In master the summernote version will be improved and the old CLE version will be dropped completely.
Diffstat (limited to 'addons/website/static/src/xml')
-rw-r--r--addons/website/static/src/xml/website.backend.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/website/static/src/xml/website.backend.xml b/addons/website/static/src/xml/website.backend.xml
index 8aec7f2017c..24f8c825816 100644
--- a/addons/website/static/src/xml/website.backend.xml
+++ b/addons/website/static/src/xml/website.backend.xml
@@ -8,8 +8,8 @@
</div>
</t>
- <t t-name="FieldTextHtml">
- <div class="oe_form_field oe_form_field_html oe_form_embedded_html" t-att-style="widget.node.attrs.style">
+ <t t-name="FieldTextHtmlFrame">
+ <div class="oe_form_field oe_form_field_html_frame oe_form_embedded_html" t-att-style="widget.node.attrs.style">
<iframe/>
</div>
</t>