You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[2.9.2] Convert to Blocks not properly converting successive Shortcodes #7030
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:
create a new page/post
add this content in a Classic block
[shortcodetest]
[shortcodetest]
[shortcodetest]
choose "Convert to Blocks"
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.
Activity
danielbachhuber commentedon Jun 6, 2018
I've confirmed this bug:
In my testing, it's the last shortcode that isn't converted to a block.
danielbachhuber commentedon Jun 18, 2018
I suspect this is going to be a more common issue than not, so elevating priority.
Related #3900 #4456
danielbachhuber commentedon Jul 9, 2018
Interestingly, opening a post in the Classic Editor immediately wraps shortcodes with paragraph tags:
Related #3900