0eac6dd552812757e9300b74164d7983f1d73ba5
Currently, the 'insert' command unpacks nodes from a lone paragraph, or from the first and last node if there are multiple nodes. In knowledge, to append an embedded view to the editable, there is a need to insert two sibling nodes at once (without unpacking them). With the current behavior of 'insert', it is possible to do so by inserting a paragraph containing the 2 nodes that need to be inserted. The result will be that the 'insert' command unpacks the parent paragraph and correctly insert the 2 nodes. This commit prevents the 'insert' command from unwrapping nodes if the anchorNode of the selection is the editable itself. Task-2821374 Part-of: odoo/odoo#104680
…
…
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%