Table of contents error doesn’t allow to open existing posts
-
After the latest update Table of Contents block seems to be broken on my blog. In the published posts it looks fine, but when I try to open an existing post that has a Table of contents for editing, I get an error and can’t even see the editor:
TypeError: t.content.replace is not a function
at https://mydomain.com/wp-content/plugins/gutenberg/build/block-library/index.min.js?ver=cfc4e44a6d1101d34b7a:123:41270 (The error is longer, but I’m not sure if it helps to solve this issue.)I also can’t add a table of Contents to new blog posts. Adding the block and trying to save a draft just crashes the editor.
When I deactivated Gutenberg plugin, I could open the blog posts, but the Table of Contents block offered to be converted to HTML. I was able to delete it.
What should I do in this situation? Can I try to delete/add the Gutenberg plugin? Wouldn’t that break anything existing that uses Gutenberg blocks?
The page I need help with: [log in to see the link]
- The topic ‘Table of contents error doesn’t allow to open existing posts’ is closed to new replies.