You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The text block configuration in the core can be extended using textBlockExtensions. However, we don't apply this to the RichtextWidget because, in the past, we faced issues with how it handled unordered lists (ul) and list items (li).
To Reproduce
Steps to reproduce the behavior:
Try adding a richText widget on a field and add a ul with some li's.
It seems you can't go out of lists, also on shift+Enter.
Expected behavior
The behaviour should be same as textlock where shift+Enter should go on a newline \n, Enter on empty li should come out of list.
Describe the bug
The text block configuration in the core can be extended using textBlockExtensions. However, we don't apply this to the RichtextWidget because, in the past, we faced issues with how it handled unordered lists (ul) and list items (li).
To Reproduce
Steps to reproduce the behavior:
ul
with someli
's.Expected behavior
The behaviour should be same as textlock where shift+Enter should go on a newline
\n
, Enter on empty li should come out of list.TextBlock:
volto/packages/volto-slate/src/blocks/Text/DefaultTextBlockEditor.jsx
Line 73 in e55b4a6
volto/packages/volto-slate/src/blocks/Text/index.jsx
Line 41 in e55b4a6
RichTextWidget:
volto/packages/volto-slate/src/widgets/RichTextWidget.jsx
Line 63 in e55b4a6
The text was updated successfully, but these errors were encountered: