Hi there,
I am using Shortcoder Pro as I would like to use the gutenberg block editor. So far so good. But: We created Custom Blocks in the Gutenberg using ACF PRO. I can add them to the custom editor in Shortcoder Pro. And I can also import the Code to the Shortcode editor (looks like this https://ibb.co/nDbZsf8). But previewing the Shortcode – these custom blocks do not display.
It only affects these custom blocks. Other content from the block editor is displayed.
I guess, after designing the shortcode content using the block editor you are “exporting the html” to the editor.
You don’t need to export the block editor HTML. You can simply save the “block editor” launched with shortcoder pro and leave the shortcoder editor to “custom editor” (i.e don’t need to change to code editor)
Can you please try that out and let me know if it helps?
Below video quickly demonstrates how to use block editor with shortcoder – PRO.
I exactly did it as seen in the video you linked above. The only difference: After saving the shortcode (on “Edit Shortcode”), it automatically switches back from the custom editor to the code editor. This is empty afterwards, thats why, I imported the code on the right panel.
So I cannot leave the shortcoder editor to “custom editor” here
I guess there is some JS errors on the “edit shortcode”.
Can you please press ctrl+shift+j and then select “custom editor”?
Please share the screenshot or the errors printed in the console.
I notice that the “editor selction” box is missing in your video after selecting “custom editor”. This is probably some conflicting/buggy plugin interfering the editing page.
Like we discussed via email, the issue has been addressed for now. ACF had a hidden editor and the editor selection box was attached to it hence the option was not getting saved.
I’ll handle the scenario in the next version of the plugin.
Thanks,
Aakash
Author
Posts
Viewing 9 posts - 1 through 9 (of 9 total)
The topic ‘Custom Blocks are not displayed in Shortcodes’ is closed to new replies.