Shortcode block seems not to work with full site editing #21397
Labels
[Feature] Shortcodes
Related to shortcode functionality
[Status] Duplicate
Used to indicate that a current issue matches an existing one and can be closed
Describe the bug
When a shortcode block is part of some content being rendered through a
wp_template
, either in the template itself or in the post content being rendered through thewp:post-content
block, the shortcode does not work.If the shortcode block is directly part of the
wp_template
, the shortcode input is directly output as if the filter is not being applied.If the shortcode block is part of the post content being rendered, the shortcode input disappears but the expected output of the shortcode does not take its place.
To reproduce
Steps to reproduce the behavior:
wp_template
and include a shortcode blockOR:
Steps to reproduce the behavior:
wp_template
and include awp:post-content
blockExpected behavior
The shortcode should be processed in either case to display the expected output of the shortcode.
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: