• The site uses?Coblocks?plugin
    • The site uses Accordion and Accordion Item block on one of its page which breaks
    • It breaks when there are multiple paragraph blocks are selected and deleted:
      https://d.pr/i/A2tsbe
    • The issue is related to Gutenberg v18.9+ versions, the reason this does not happen in v18.8.0 is that in v18.9.0, this fix was implemented : PR #63565
    • There is no error handling (? - null colease) for these two lines for lastSelectedBCR variable : L108 & L112 which generates the error
    • I can confirm this as I overrode the script using the browser and tested multiple times using the null colease operator.
    • This issue exists with Gutenberg v18.9.0+ and WordPress 6.6.1
    • This similar ticket has been raised for the Gutenberg plugin, but I wanted to know if there could be an issue related to Coblocks Accordion Item not being adjusted for the newer versions of Gutenberg plugin.

    Steps to replicate :

    • Add Accordion block to any new post with the WP 6.6.1 or Gutenberg v18.9.0 environment set up
    • Add several paragraph blocks inside the first accordion item
    • Save and reload the page
    • Select multiple paragraph blocks and then delete them. The editor should break.
  • The topic ‘Editor Breaks due to bulk deletion’ is closed to new replies.