From b49745e52d7a7bc27afd416206dcd5fa242aa07a Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Mon, 28 Jan 2019 09:39:56 +0000 Subject: [IMP] web_editor: lazy load the wysiwyg Issue: wysiwyg asset slow down the loading of the website, error inadvertently introduced: https://github.com/odoo/odoo/pull/29775 The assets are now loaded assynchroneously, when the editor is needed, its assets will be loaded. closes odoo/odoo#30700 --- addons/web_editor/static/src/xml/wysiwyg.xml | 42 ++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) (limited to 'addons/web_editor/static/src/xml') diff --git a/addons/web_editor/static/src/xml/wysiwyg.xml b/addons/web_editor/static/src/xml/wysiwyg.xml index 5d7754dd7c3..d28efeee92b 100644 --- a/addons/web_editor/static/src/xml/wysiwyg.xml +++ b/addons/web_editor/static/src/xml/wysiwyg.xml @@ -1,6 +1,48 @@ + + + + + + + + + + + + +