diff options
| author | Christophe Simonis <chs@odoo.com> | 2018-07-13 10:47:18 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2018-07-13 10:47:18 +0200 |
| commit | c952a117701f9ce3aeeca9f6f19f5288b85fbb32 (patch) | |
| tree | f4e395638883bd23c18914e4efbb4e7fa0560e46 /addons/web_editor/static/src/js/inline.js | |
| parent | c9a2b9a00a5f73c20892d74575b1b4c4a3c4cd5c (diff) | |
| parent | 6e6e3d4c964ac8c54149104b340345523ecb7365 (diff) | |
[MERGE] forward port branch 11.0 up to 6e6e3d4c964
Diffstat (limited to 'addons/web_editor/static/src/js/inline.js')
| -rw-r--r-- | addons/web_editor/static/src/js/inline.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/web_editor/static/src/js/inline.js b/addons/web_editor/static/src/js/inline.js index b1de23cb293..7409f9190f3 100644 --- a/addons/web_editor/static/src/js/inline.js +++ b/addons/web_editor/static/src/js/inline.js @@ -41,6 +41,7 @@ snippet_editor.Class.include({ start: function () { _.defer(function () { var $editable = $('#editable_area'); + transcoder.linkImgToAttachmentThumbnail($editable); transcoder.imgToFont($editable); transcoder.styleToClass($editable); @@ -53,7 +54,7 @@ snippet_editor.Class.include({ this._super.apply(this, arguments); var $editable = $('#editable_area'); - transcoder.linkImgToAttachmentThumbnail($editable); + transcoder.attachmentThumbnailToLinkImg($editable); transcoder.fontToImg($editable); transcoder.classToStyle($editable); |
