stable

Clone or download

Read-only

issue: Ctrl + Enter creates an incorrect DOM

part of story #38627 : Choice of a new Rich Text Editor How to test: In Editor create a list, then press Ctrl + Enter in order to add a <br> inside your list Without this patch following html is rendered: <ul><li><p>list</p><br><p>|cursor</p></li></ul> Now you have <ul><li><p>list<br>|cursor</p></li></ul> Change-Id: I09098cfd5e4f284981038f9fb9a68ccf5bdc776d

Modified Files

Name
M lib/frontend/prose-mirror-editor/src/custom_schema.ts +15 −1 Go to diff View file
M lib/frontend/prose-mirror-editor/src/plugins/toolbar/keymap.ts +11 −21 Go to diff View file