abd-msyukyu-odoo 70b0731154 [FIX] web_editor: handle deletion process around nested editable
Fix `deleteBackward` and `deleteForward` processes around nested editable
zones, i.e.:
```html
<div class="odoo-editor-editable" contenteditable="true">
  <div class="nesting" contenteditable="false">
    <div "nested" contenteditable="true">
      <p>content</p>
    </div>
  </div>
</div>
```

- `deleteBackward`, when used:
  - just after the nesting element; should remove the nesting element
  - at the start of the nested element; should do nothing

- `deleteForward`, when used:
  - just before the nesting element; should remove the nesting element
  - at the end of the nested element; should do nothing

This commit also move some existing tests that were related to the handling of
non-editable elements in their correct `describe` section.

task-3425395

X-original-commit: a52deabecef8a5d489743b0ae07d4d32302fd76e
Part-of: odoo/odoo#128631
2023-07-17 09:21:10 +02:00
2023-07-12 11:19:58 +02:00
…
…
…
…
…

Build Status Tech Doc Help Nightly Builds

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

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%