Any chance there is a filter to disable all fonts from loading? If not, any chance you’d add one?
I have enqueued my own monospaced font, so I would love to disable another font from loading that isn’t being used ????
Can it run on the Classic Editor? Please make one for classic editor.
Especially the feature of live preview in the editor.
My site is in Farsi language with right to left direction. In all previous versions of the plugin, the codes in the front-end and back-end were correctly directed from left to right. In the latest version of the plugin (1.26.5), when I updated the plugin, all the codes in my site have found right to left direction.
]]>Can you please make it so shortcodes won’t execute inside of the block? The only way I can add a shortcode to the page without it executing currently is to use the default code block.
Thanks!
]]>I would love it if these had classes on them instead of inline styles for colors. I want to customize the theme a bit and can’t target them.
If they had classes, it would look like this:
]]>Hi there
I want to be able to use ACF and create a field to pass data dynamically to the Code Block.
Is this possible to do and if so how would I go about that.
Thanks very much.
]]>Is there a way to use this as Divi module in Divi theme.
]]>Thank you for an amazing Plugin.
I do not want scroll bar at the below, I want to show my entire code in one page. by line warping.
]]>Hello There!
I have utilized the 「Code Block Pro」Plugin and have been editing my site using my Admin role.
However, currently we have added team members with the role: Author to the site and are facing a problem where the authors are shown the below message on the code pro blocks and are unable to edit them. (Admin can still edit them)
Read-only mode: The?unfiltered_html
?capability is required.
I understand that this is a safety feature but how do i resolve this so that the Authors can edit the code block by themselves?
is there any additional installation or settings that need to be changed.
would really appreciate any suggestions.
Thanks in advance.
]]>I’m using the Blocksy theme in my WordPress website, and using Code Block Pro to provide C++ syntax highlighting. I suddenly noticed that all my != are being converted to ≠ , which is not valid for C++.
Is the plugin misbehaving, or could the theme or WordPress be the culprit?
]]>Hey, Kevin. Awesome plugin!
I saw your reply to another poster re: Line Wrapping, so I’ll try to give that ago.
As for Global Styling, any idea if this is coming/coming soon? I’m trying to figure out my approach here in case I want to make styling changes down the road. I have a ton of code snippets to add to the site.
Thank you,
Ryan
]]>Hi
I’ve got this message whenever a code block is placed in a post:
“Your site doesn’t include support for the Code Block Pro – Beautiful syntax highlighting block. You can try installing the block, convert it to a Custom HTML block, or remove it entirely.”
The plugin is installed and updated. The previously published posts work fine but I can’t create a new code block using the plugin.
Please help!
First of all, Thanks a lot for this plugin, It’s really great with some powerful feature without sacrifincing performance.
I need to wrap lines of my codes as the Horizontal scroliing is not good.
Can you tell me when this feature will be added and how can I implement this for now?
After code block paragraph is combined without any space. Need to provide some space after every code block.
]]>Hello, Firstly I would like to say thank you for such a great plugin!
Now on to an issue that I have discovered. When a visitor tries to print an article that contains code (displayed via your plugin) it does not print all the code but instead only renders what can be seen on-site.
Is there a way to have it include all the code for the print only version?
To duplicate this issue, visit my site, scroll to the bottom and where the share icons are you can click on the Print button or simply select Print from your browser. Now look at the code section in the print preview.
Hope there is a solution to this other than being told to display all the code in the article as this would make for a massively unreadable article causing the reader to have to scroll past every bit of code before continuing on.
]]>It seems that the code block is no longer registered in Gutenberg after updating to WordPress v6.5.
Existing blocks register on the front end, but are broken on the backend prompting the user to convert to HTML. Searching for the block to add in a post yields no results.
Hello,
When I tried to copy code made in C++/Python/Java to an external compiler using the Copy button, the formatting is broken, it looks like the lines are separated by a tabulator…. How can I copy the code correctly?
Thanks a lot in advance!
]]>Today I found this message: “Theme dark-plus not found. Please select a different theme.”
I can’t edit the code, I can’t change the theme, because all themes are in Loading… state.
On the site everything works as it should. Reinstalling the plugin does not help. What can be the problem?
Hi Kevin,
Really awesome work! Is it possible to have the bash character ($) instead of a line number when selecting the language “Bash”?
Thank you!
]]>After using the plugin on my website, I can see the code styled correctly, but the font size is much smaller than the rest of my text
I have tried to play with the font but it did not help much.
]]>Hi,
Somehow it doesn’t display properly in my memberpress course site. When I create the page it looks fine, once published it looks like this, I think memberpress is messing with the CSS. Do you know how I can fix?
You need to sign up before you can see my problem, I can delete you after :). It’s free.
https://www.expandyourskills.nl/courses/sql-voor-beginners/lessons/hoe-werkt-de-cursus/
]]>This plugin is so awesome but can you change the scroll bar just like the one I have added to the image? Make sure it works fine on All browser (Chrome, Firefox, Opera)
]]>Hi, The product is really good. But Unfortunately it lacks a Global Styling. If I have 500 posts embedded with Powershell code using this plugin and tomorrow I decide to change my theme and global colors.
To align the code block with theme, I have to go to each post and update each code block.
Overall the product is good so far but just doesn’t fit on my site. Is it possible to get a refund ?
]]>First off, thanks for your work on this plugin. It’s great!
It would be helpful to add an option to wrap long lines. This is especially needed for mobile resolutions to avoid horizontal scrolling.
]]>Hi Kevin,
I still use your plugin on a website and it is excellent. But, I want to use it on another site.
Will you add an option for a default setting (global)? If yes, any ETA? If not, please let me know.
Thanks!
]]>this is how it shows for me , and i have no idea how to make the block be in full width, it just extend if i typed
]]>All of a sudden I’m getting this error “The?unfiltered_html
?capability is required to edit this block. Contact an admin to enable this feature. This is not an error.”
Because of this the code highlight is not working. The native WordPress Code block works fine. I’m logged in as an admin for making changes and it has unfiltered_html turned on.
I also tested with a user that has unfiltered_html turned on and still getting this error. Any thoughts on why this would be?
]]>Howdy Kevin,
When one of my colleagues changes one of our articles, all code blocks are changed slightly. It’s not a big deal, but as we have many code blocks on one page, it is impossible for me to compare the article whenever he makes a change.
Even after changing only a single character, all code blocks become different.
The only change is the increase of lineNumbersWidth.
Is this a dynamic value calculated by values depending on the client system, like screen size, browser size, etc., and is there a workaround?
When I save an article, that change is not applied.
Thank you,
René
I have already installed Code Block Pro, but in my edit page it shows to install it, please check i have attached the screenshot below.
WordPress Version – 6.3
Plugin version – 1.23.0
Hello. Thanks for making nice plugin.
I wonder if i can add bottom margin to the code block
View post on imgur.com
I had same issue with image block so I added css like this
.single .wp-block-image {margin-bottom: 20px;}
Can you give me similar css code? I’m not good at this css thing..
]]>