Skip to content
Snippets Groups Projects
Commit ec37d417 authored by Nicolas Lempereur's avatar Nicolas Lempereur
Browse files

[FIX] web_editor: ol in ol no number skip


In the case of an <ol> in an <ol> we would have something like:

```
1.
   1.
   2.
3.
```

because the sublist itself in version of summernote.org we are using
is a list item, so it takes one extraenous item.

With this changeset we have something that makes more sense:

```
1.
   1.
   2.
2.
```

Because there are tons of use case of different selection of list level
and indent or outdent, this commit also simplify outdenting (eg. now we
outdent all the element of the same level than the first indented).

opw-2185406
closes #48194

closes odoo/odoo#50352

X-original-commit: bbf4ad7d
Signed-off-by: default avatarNicolas Lempereur (nle) <nle@odoo.com>
parent eae51e5f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment