Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shortcode block seems not to work with full site editing #21397

Closed
carlomanf opened this issue Apr 4, 2020 · 1 comment
Closed

Shortcode block seems not to work with full site editing #21397

carlomanf opened this issue Apr 4, 2020 · 1 comment
Labels
[Feature] Shortcodes Related to shortcode functionality [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed

Comments

@carlomanf
Copy link

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 the wp: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:

  1. Turn on full site editing
  2. Make a wp_template and include a shortcode block
  3. Invoke the template from the front end
  4. See the input of the shortcode directly output on the front end instead of the expected output

OR:
Steps to reproduce the behavior:

  1. Turn on full site editing
  2. Make a wp_template and include a wp:post-content block
  3. Include a shortcode block in any post to be rendered by the template
  4. Invoke the template from the front end
  5. See the shortcode disappear from the front end with no output

Expected behavior
The shortcode should be processed in either case to display the expected output of the shortcode.

Desktop (please complete the following information):

  • OS: Mac 10.13.6
  • Browser Firefox 73.0.1

Additional context

  • Gutenberg 7.8.1
@talldan talldan added [Feature] Full Site Editing [Feature] Shortcodes Related to shortcode functionality Needs Testing Needs further testing to be confirmed. labels Apr 7, 2020
@talldan
Copy link
Contributor

talldan commented Aug 18, 2020

Closing as a duplicate of #19278

@talldan talldan closed this as completed Aug 18, 2020
@talldan talldan added [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed and removed Needs Testing Needs further testing to be confirmed. labels Aug 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Shortcodes Related to shortcode functionality [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed
Projects
None yet
Development

No branches or pull requests

2 participants