stable
Clone or download
Read-only
part of story #38627 : Choice of a new Rich Text Editor How to test: In prose mirror editor you have two buttons to add new list (bullet and ordered) In console, when button is clicked a css class `ProseMirror-menu-active` will be toggled you can add new lists by clicking on corresponding button, you can add sublists - add a list, go back, add * to start a sub list - when you press enter it adds a new entry to the list Note: We can not switch with this patch (changing a bullet list to a ordered list) When we have a bullet list, ordered list option is disabled so user have an indication that he can not switch the list type for now This point will be deal later Change-Id: Icfbd33970a6feccf08e8da10a752b52bc8548400
Modified Files
Name | ||||
---|---|---|---|---|
M | lib/frontend/prose-mirror-editor/po/fr_FR.po | +6 | −0 | Go to diff View file |
M | lib/frontend/prose-mirror-editor/src/plugins/toolbar/input-rules.ts | +22 | −3 | Go to diff View file |
M | lib/frontend/prose-mirror-editor/src/plugins/toolbar/keymap.ts | +62 | −12 | Go to diff View file |
A | lib/frontend/prose-mirror-editor/src/plugins/toolbar/list/is-list-checker.ts | +41 | −0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor/src/plugins/toolbar/list/list-menu-item-builder.ts | +72 | −0 | Go to diff View file |
M | lib/frontend/prose-mirror-editor/src/plugins/toolbar/menu.ts | +27 | −3 | Go to diff View file |