summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/backend/fields.js
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@odoo.com>2018-01-30 14:22:07 +0100
committerChristophe Matthieu <chm@odoo.com>2018-02-08 11:25:51 +0100
commitae39a89a096c8dcb315425a23e4c6d7a70ef2f27 (patch)
tree4d27032402d783469931e77dfcc6bd706534bcea /addons/web_editor/static/src/js/backend/fields.js
parent6494f511718893eec3573c60c0a62e04d386359d (diff)
[FIX] web_editor: add thumbnail image to send attachment
Diffstat (limited to 'addons/web_editor/static/src/js/backend/fields.js')
-rw-r--r--addons/web_editor/static/src/js/backend/fields.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web_editor/static/src/js/backend/fields.js b/addons/web_editor/static/src/js/backend/fields.js
index ae7ee94e964..d3d601bac73 100644
--- a/addons/web_editor/static/src/js/backend/fields.js
+++ b/addons/web_editor/static/src/js/backend/fields.js
@@ -118,6 +118,7 @@ var FieldTextHtmlSimple = basic_fields.DebouncedField.extend(TranslatableFieldMi
*/
_getValue: function () {
if (this.nodeOptions['style-inline']) {
+ transcoder.linkImgToAttachmentThumbnail(this.$content);
transcoder.classToStyle(this.$content);
transcoder.fontToImg(this.$content);
}