a8581ddca659938caed76ee6fe98cd7a9739adf6
Triple click correction failed whenever the triple-click-selected block was followed by an empty block. The reason is that `getDeepestPosition` prevents the selection from being placed within a line break (`<br>`) and therefore returns the block itself (`<p>[]<br></p>` will be expressed as `(p, 0)`), so the heuristic to determine if triple click correction in needed in `getDeepRange` would fail as it assumed the `end` node was a leaf where it wasn't. This fixes the issue by applying the heurstic to the first leaf of the `end` node instead, and making the correction for there as well. task-3180922 closes odoo/odoo#112637 X-original-commit: 81653c320a1e431e4b9ae831bf0b8522588368e6 Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%