ToC block: handle newlines #41203
Labels
[Block] Table of contents (experimental)
Affects the Table of contents Block
[Type] Bug
An existing feature does not function as intended
Description
Heading blocks can contain newlines (shift+enter) but ToC block won't show them:
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
I got around the problem by adding a space before newline:
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
No
FYI @ZebulanStanphill
The text was updated successfully, but these errors were encountered: