summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/xml/editor.xml
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2018-09-12 09:56:10 +0200
committerqsm-odoo <qsm@odoo.com>2018-09-12 10:56:55 +0200
commit51f38a84668692bae1e3736f62d884b063e7d3fd (patch)
treec168d08206641bd4e30b00d7a1eb27427362c25c /addons/web_editor/static/src/xml/editor.xml
parent1b4f317a08ea418f9d0e57f5d7c8abbcca2b7bb2 (diff)
[FIX] website: restore proper carousel options
We have JS which tooks care of customizing the color and background options of .carousel elements so that the active carousel item is edited instead. The recent snippet refactoring added those options on .carousel-item elements directly, so that slide and carousel options are separated in the customize menu. This however made the options complex to use and some of them impossible to use. This also added color and background options on non-snippet carousels like for the products in the shop, which was not meant to be. This commit goes back to the old system for now. Note: using "[class*='s_']" as a selector to match snippets is not correct as it matches the elements whose classes contains 's_'... and in our case the body was matched because it has the class 'editor_ha*s_*snippets'. A proper way would be to use this selector: "[class^='s_'], [class*=' s_']". But even then, this is not really a good way. task-1878245
Diffstat (limited to 'addons/web_editor/static/src/xml/editor.xml')
0 files changed, 0 insertions, 0 deletions