Document Outline: Exception caused by headings with formatting #8160
Labels
[Feature] Blocks
Overall functionality of blocks
[Type] Bug
An existing feature does not function as intended
Milestone
Describe the bug
A heading with rich text formatting causes the Document Outline to throw an exception.
To Reproduce
or
An exception is thrown:
Expected behavior
The document outline should be shown.
Additional context
In #7934, we changed how attributes with a source of
children
are serialised. We likely need to updateDocumentOutline
to respect this new object shape by e.g. using<RichText.Content>
.The text was updated successfully, but these errors were encountered: