• Resolved brownburger

    (@brownburger)


    Hi there,

    Converting a ToC block to a reusable block results in the following error message (my translation):

    Update failed. You are probably offline

    After exiting Gutenberg and trying to edit the same page again, the Gutenberg editor doesn’t show up at all anymore. If I remove the reusable ToC block (outside of Gutenberg) everything works fine again.

    Converting a Toc block itself to a reusable block isn’t probably that useful. But I have a use case for including a ToC in a reusable group block which also doesn’t work.

    I use WP 5.4.2 and Easy ToC 2.0.11

Viewing 2 replies - 1 through 2 (of 2 total)
  • Steven

    (@shazahm1hotmailcom)

    I have tested such a use case… but I am not entirely surprised it did not work. A reusable block is basically just a WP Post which is loaded within a post/page. So the TOC is not actually ever part of the post/page, as it exists is a completely separate post. So even if an error did not occur I would not expect it to work in the post that the reusable block (post) was inserted into.

    Steven

    (@shazahm1hotmailcom)

    It just occurred to me, It might work if you convert your reusable block group to a pattern (new in 5.5) instead. There are plugins already available to convert reusable blocks to patterns.

    I hope this helps!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Doesn’t work with reusable (group) blocks’ is closed to new replies.