Continuing from #132 and #133 I'm still trying to apply a block style in a theme. This time the issue is that the editor content doesn't match the rendered content.
The edit component for the table of contents block doesn't account for the <details> or <div> that is wrapped around the inner content. So when I tried to apply styles to the first child, this happened in the editor. The styles are applied to the summary and the nav comes after, which isn't quite right.
I think this fix would just change the editor appearance and the rendered content would stay the same.
Continuing from #132 and #133 I'm still trying to apply a block style in a theme. This time the issue is that the editor content doesn't match the rendered content.
The edit component for the table of contents block doesn't account for the
<details>
or<div>
that is wrapped around the inner content. So when I tried to apply styles to the first child, this happened in the editor. The styles are applied to the summary and the nav comes after, which isn't quite right.I think this fix would just change the editor appearance and the rendered content would stay the same.