Skip to content

[2.9.2] Convert to Blocks not properly converting successive Shortcodes #7030

Closed

Description

Describe the bug
On a Classic block with multiple successive Shortcodes, choose the option "Convert to Blocks." Not all the Shortcodes will convert.

To Reproduce
Steps to reproduce the behavior:

  1. create a new page/post
  2. add this content in a Classic block
    [shortcodetest]
    [shortcodetest]
    [shortcodetest]
  3. choose "Convert to Blocks"
  4. BUG: It will not create all the Shortcode blocks

Different combinations of text with successive Shortcodes result in different behavior, but in most/all scenarios, at least one of multiple successive Shortcodes does not convert.

Expected behavior
Any combination of Shortcodes, even in succession, should convert to Shortcode blocks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions