Skip to content
Snippets Groups Projects
Commit 2b2da9b7 authored by hmai's avatar hmai
Browse files

[FIX] web editor: cursor jumps out of blockquote


Steps to reproduce:

1. add a paragraph
2. add a blockquote
=> the cursor will jump in the paragraph
This commit fixes a bug detected when inserting a blockquote. The cursor
jumps to nearby paragraph on insert, and other issues.

The cause of the bug is tied to the fact that we rely on a complex behavior
when inserting paragraph related elements (within the insert command).
The way to make blockquote behave like the other paragraph related
elements is simply to add it to the list as done in this commit.

Task-3383441

closes odoo/odoo#134633

X-original-commit: 8195beac
Signed-off-by: default avatarDavid Monjoie (dmo) <dmo@odoo.com>
parent 2e7f7b12
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment