summaryrefslogtreecommitdiff
path: root/addons/website/static/src/js/editor/snippets.editor.js
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2020-05-28 10:04:24 +0000
committerqsm-odoo <qsm@odoo.com>2020-05-28 14:41:49 +0000
commitff2c9fc195bba060c3c45e42fb4dd9fc886b782d (patch)
treefd11231d53f670f6ac24630482a092365f4a00fd /addons/website/static/src/js/editor/snippets.editor.js
parent878fcb8cc707b07a165086db05abe1d158fdbdc5 (diff)
[IMP] web_editor: preload colorpalette dependencies on editor start
As the colorpalette has very big chances to have to be loaded when the user enters edit mode (any click on a text will require the colorpalette to be available), this commit makes it so the dependencies are loaded as soon as the editor is started, without actually waiting for them until the colorpalette are used. This allows to make the first click on a text or on the theme tab a bit faster to react. closes odoo/odoo#52116 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/website/static/src/js/editor/snippets.editor.js')
0 files changed, 0 insertions, 0 deletions