stable
Clone or download
Read-only
By default, prose-mirror hide quote icon when the selected node is not compatible with quoteblock. So I built a custom icon, that is always active. I also rewrite the default behavior of quote because it was not compatible with list block. part of story #38627 : Choice of a new Rich Text Editor Change-Id: I0f9d5ac9168d204af4a04a45b37c7859aee21795
Modified Files
Name | ||||
---|---|---|---|---|
M | lib/frontend/prose-mirror-editor/src/plugins/toolbar/menu.ts | +3 | β5 | Go to diff View file |
A | lib/frontend/prose-mirror-editor/src/plugins/toolbar/quote/add-blockquote.test.ts | +41 | β0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor/src/plugins/toolbar/quote/add-blockquote.ts | +34 | β0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor/src/plugins/toolbar/quote/has-previous-node-type.test.ts | +56 | β0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor/src/plugins/toolbar/quote/has-previous-node-type.ts | +34 | β0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor/src/plugins/toolbar/quote/index.ts | +20 | β0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor/src/plugins/toolbar/quote/is-selection-a-block-quote.test.ts | +45 | β0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor/src/plugins/toolbar/quote/is-selection-a-block-quote.ts | +25 | β0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor/src/plugins/toolbar/quote/quote-command.test.ts | +63 | β0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor/src/plugins/toolbar/quote/quote-command.ts | +45 | β0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor/src/plugins/toolbar/quote/quote-menu-item.ts | +36 | β0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor/src/plugins/toolbar/quote/remove-blockquote.test.ts | +49 | β0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor/src/plugins/toolbar/quote/remove-blockquote.ts | +41 | β0 | Go to diff View file |