Thursday, July 9, 2020
2 changes · master
Code cleanup and technical improvements
The automatic scrolling behavior used while dragging items has been moved from the website editor into the broader web framework. This makes the same smoother drag experience available for other Odoo apps, such as Sign, while reducing duplicated work for future features.
Original PR description
Prior to this commit, the autoscroll on drag feature was accessible and only used in the web_editor application. After this commit, the autoscroll on drag feature will be available in the web application and has been refactored in order to allow its usage in other application (as for the sign application). task-2280965 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update reorganizes how website editor fonts are defined and saved, making font options easier to manage and reorder without breaking current selections. It also improves how style values are generated so empty values are avoided and text values are handled consistently. Older font customizations from before Odoo 14 may need to be selected again in the editor.