How to reduce width and give 30px padding ?
]]>Hi,
I think you could gain a lot of more value for your plugin if you add setting, which allows the code to be executed in the frontend.
My main problem is that the html wordpress editor is super basic without formating and highlithing so if i have a change i always have to look exactly where in the code i need to make it.
Would be interested in the plugin if the highlithing could only be enabled in the backend…
Best
Marc
]]>https://translatefuture.com/programmeren
Hi the execute button on html is no longer showing. How can I run code now? Is there a way to fix this?
you can login with credentials:
Username: test
password: test
]]>Hello,
I want to display .htaccess snippets.
Normally Apache is used for that, but there is no Apache in list of languages.
Can I use another language instead?
If Yes – which one?
Hi, i have questions. How to init the js if the post content is loaded via ajax. Thanks
]]>Hello,
I am a WordPress developer and want to use this plugin in my custom theme. I have planed to add an online compiling feature similar to w3schools in frontend but not in the first stage of the project.
In the first stage I just want to display the code, so your plugin will do the job.
I was wondering which method are you using to render and display the code in frontend? Is it through short code or any other method?
The reason for asking this question is that I need to know whether I can extend your plugin or I have to write one myself from the beginning when needed.
Thank you for this great plugin.
]]>Hi there,
I tried a lot of things but unfortunately, no copy button is shown up. We use the Avada theme, maybe it`s because of this?
]]>When I Add “ADDITIONAL CSS CLASS(ES)” in “Advanced” setting, code breaks. It shows “<div class= …….” in the code block.
]]>Hi
I suddenly have an issue with your plugin but I can’t tell exactly since when this happens.
I checked some pages today as I needed some codes I wrote on them and I saw that everything is duplicated.
Any Idea where such a behavior could come from as when I edit the page everything seems normal?
]]>I noticed that codemirror-blocks–css is loaded regardless of the block being used or not. Please consider loading it selectively.
]]>First off, thanks for the great plugin. I really like it.
One suggestion: please consider storing all plugins options in a single record in wp_options (serialized). This will help a little bit in terms of performance ??
]]>Hello Folks,
I would like to change the lineSeparator option, so I can have a \n when I’m retrieving the code via a small js function…
Can some one tell me how can I do that ?
Thanks,
David
WP 6.2.2, PHP 8.0, CodeMirror Blocks 1.2.4
When the Classic Editor plugin is active, the Codemirror control panel over the code stops being displayed (not in the backend, not in the frontend).
How to fix it without disabling this plugin?
Hello Vicky
I can see correct syntax formatting in preview and in editor however once I publish the post I could not see in the latest post ,
I disabled all plugins except codemirror block , but the result is the same
Any idea?
??
Thanks
]]>CodeMirror propose other languages. How to use them in code mirror.
Is it possible for user to add them, if so do you have a How to guide” ?
]]>I suppose I’m rather a noob, but I have the Codemirror block installed. I want the code just for an illustration for some users, but I want to make it possible for them to enter just a couple of integers, and then execute the code that they see with those integers as input parameters, and display a result.
I made a CodeMirror block and just for testing, I wrote
alert(“foo”)
into that block. When I click on the execute button, it says
It Execute Code on Front End
This button will work only on front end!
and then, I don’t understand what Front End means in this context, I tend to think of the browser as the front end… Can I achieve what I set out to do?
]]>The plugin doesn’t work. When executing the code at the bottom just displays the text entered, not the executed code((
Please help. Maybe the settings are wrong. Tried many different options.
Thanks in advance
]]>How to add elixir in code mirror block. There is elixir in code mirror. May be add a “how to” is the best way.
]]>Hi again Vicky, Just one little issue that I thought I would raise. It’s not a deal breaker ??
If I have only one line of code the ‘Copy Code’ tooltip clips under the code box. See the image: https://prnt.sc/m3V-ou8ONDlO
Any quick ways to solve this?
]]>Hi, great plugin, exactly what I need. Just wondering if it loads on all pages or only ones where it needs it?
Also I was wondering if there is a way to remove it from the side menu in the dashboard. If I want to change the settings I’ll just go Plugins > Settings. I hate having a cluttered dashboard menu.
Thanks!
]]>Hello,
On the presented site there are two codes written with the plugin. I used the standard format and it looked great.
But suddenly, today, I have discovered the format has changed and the code looks practically like plain text.
Is there any issue with the plugin? The site has not made any major update, so that I don’t understand what is going on.
Thanks for the support.
]]>img plugin dont work
]]>Hi,
I am trying to add a CSS block with execute button, but it doesn’t give me the option to execute when choosing CSS as language from the dropdown menu
Good Day,
I changed my template and while testing I noticed that it’s not following the right syntax style.
Please advise.
Thanks
]]>Is it possible to create a vertical scrollbar in CodeMirror Blocks?
I would love to be able to have my block have 10 visible spaces, and when the user wants more than that, the block creates a scrollbar rather than extending the height of the block continuously.
Keep doing what you’re doing – this is an amazing plugin ??
]]>Do you know how to add Elixir Language to CodeMirror Bloc ?
]]>Hello!
This plugin provokes this error in editor and widgets WP admin pages, as it is using a deprecated hook…
PHP Deprecated: block_categories ha quedado obsoleto desde la versión 5.8.0. Utiliza block_categories_all en su lugar. in …\wp-includes\functions.php on line 5698
]]>console panel has error Uncaught SyntaxError: Unexpected token 'function'
and I can’t show the style in the posts
]]>I am getting below error when I enable control panel and select Language label as “File Name or Language Name”.
I am not getting this error when I select language label as “No Label” or disable control panel.
init.min.js?ver=1643725312:1 Uncaught TypeError: Cannot read properties of undefined (reading 'toLowerCase')
at Object.t.addPanel (init.min.js?ver=1643725312:1:2208)
at Object.t.codeMirrorInit (init.min.js?ver=1643725312:1:1315)
at Object.t.frontEndInitialization (init.min.js?ver=1643725312:1:459)
at init.min.js?ver=1643725312:1:5569
t.addPanel @ init.min.js?ver=1643725312:1
t.codeMirrorInit @ init.min.js?ver=1643725312:1
t.frontEndInitialization @ init.min.js?ver=1643725312:1
(anonymous) @ init.min.js?ver=1643725312:1
]]>
Getting this net::ERR_TOO_MANY_REDIRECTS from the /plugins/wp-codemirror-block/assets/js/init.min.js?ver=1589179764
Can you please let me know what is the issue here?
]]>