This repository was archived by the owner on May 5, 2021. It is now read-only.
Commit a0feb63
[FIX] EventNormalizer: consistently apply insertLineBreak on shift+enter
Prior to this fix, there were certain situations where doing shift+enter
was triggering an insertParagraph action instead of insertLineBreak. The
reason was that in those situations, the browser was actually giving an
insertText input type together with the "Enter" key, for some reason...
Steps to reproduce the fixed issue:
- open example Note "Project N.947.5" in Odoo
- add: Enter - couple of characters - Enter - couple of characters
- make the last line blockquote
- at the end of the last line, add: Shift+enter - couple of characters
- Shift+enter at this point broke the blockquote.1 parent 454d997 commit a0feb63
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
836 | 836 | | |
837 | 837 | | |
838 | 838 | | |
| 839 | + | |
839 | 840 | | |
840 | 841 | | |
841 | 842 | | |
| |||
0 commit comments