[FIX] web_editor: don't insert css inline for readonly html frame
The preview is not equal to the real email rendering because inline.css is present.
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
var snippets_url = '<t t-esc="snippets or ''"/>';
|
||||
var callback = window.location.href.match(/callback=([^&=]+)/)[1];
|
||||
</script>
|
||||
<link t-if="inline_mode" rel="stylesheet" href="/web_editor/static/src/css/inline.css" type="text/css"/>
|
||||
<link t-if="enable_editor and inline_mode" rel="stylesheet" href="/web_editor/static/src/css/inline.css" type="text/css"/>
|
||||
<t t-if="not dont_load_assets">
|
||||
<t t-call-assets="web_editor.assets_editor"/>
|
||||
<style>
|
||||
|
||||
Reference in New Issue
Block a user