shortcode gfm-renderer
-
Thanks for the interesting and promising plugin.
In normal mode, when adding a block from the Gutenberg editor, everything works fine.But when inserting the shortcode [gfm-renderer] #txt [/gfm-renderer] it doesn’t work,
there is no result in any of the editors.If in functions.php if I add a temporary code that overrides the plugin’s shortcode, it shows that the content reaches it, but for some reason it is not processed further.
remove_shortcode('gfm-renderer');
add_shortcode('gfm-renderer', function($atts, $content = null) {
return '<div style="border:2px solid red; padding:10px;">contents of the shortcode: <pre>' . esc_html($content) . '</pre></div>';
});Which most likely means that the original plugin handler does not return the desired Markdown or returns something that is not converted to Markdown.
Yours sincerely,
S.K.
WP 6.9.1
PHP 8.3
You must be logged in to reply to this topic.