I was looking for a plugin earlier to give a common need:

To Share Source Code In A Pretty Manner Without Issues, We Need A Special Plugin

but here, the plugin isn’t working

We are going to start listing areas that we would LIKE to see something fixed in WordPress. If we don’t see action, we might look at the situation directly.

This plugin called ‘WP Code Snippet’, and here is the home page:

https://kamal.pw/wp-code-snippet

When I activated this plugin, I immediately got a fatal error:

Fatal error: Uncaught Error: Class 'Kamal\CodeSnippet\Blocks\Code_block' not found in /home/LinuxUser/web/sitename.com/public_html/wp-content/plugins/wp-code-snippet/wp-code-snippet.php:27 Stack trace: #0 /home/LinuxUser/web/sitename.com/public_html/wp-content/plugins/wp-code-snippet/wp-code-snippet.php(45): Code_Snippet->__construct() #1 /home/LinuxUser/web/sitename.com/public_html/wp-content/plugins/wp-code-snippet/wp-code-snippet.php(69): Code_Snippet::init() #2 /home/LinuxUser/web/sitename.com/public_html/wp-content/plugins/wp-code-snippet/wp-code-snippet.php(72): codeSnippet_init() #3 /home/LinuxUser/web/sitename.com/public_html/wp-admin/includes/plugin.php(2299): include('/home/LinuxUser/web…') #4 /home/LinuxUser/web/sitename.com/public_html/wp-admin/plugins.php(191): plugin_sandbox_scrape('wp-code-snippet…') #5 {main} thrown in /home/LinuxUser/web/sitename.com/public_html/wp-content/plugins/wp-code-snippet/wp-code-snippet.php on line 27

I know that it sounds WIERD to require a plugin for sharing source code on a website, but generally we want to provide a widget that offers a ‘Copy Feature’ and more importantly, we don’t want HTML / JavaScript or anything else like Php or HTML Encoding to interfere with the source code.

Even a SLIGHT defect in source code can we hard to diagnose, fix and find. I mean, when you are copying and pasting code for a living, even a SLIGHT hiccup can be VERY hard to diagnose.

Long Term, we are hoping that someone looks at this, and if nobody takes the challenge, we can look at forking the product. For now, we will email reports about these WordPress issues, and point people to our findings. I think that is the responsible thing to do.

This product just needs to work well with Gutenburg. I have a LOW tolerance for anything that requires the Classic Editor, and I LIKE TinyMCE, but changing between the Classic Editor, the TinyMCE Editor, HTML, Visual Preview mode, and Gutenburg, it is just TOO MUCH to support 5 different options for drawing content and articles. Oh yeah, we also support Markdown and HTML. That is 7 methods. I don’t see the need for Classic Editor, and REALLY don’t like turning it on and off.

I *REALLY* liked the TinyMCE Editor, and I never would have mastered WordPress if I hadn’t learned all the buttons. It was GREAT, and I think that the TinyMCE Editor is one of the things that ALLOWED WordPress to grow like it is. Cheers, WordPress.