it’s a great plugin.
I have not found moti latri so pleasant.
Why not do a wordpress 6 update check?
On my updated site it works, so everything should be ok.
also showing that the plugin is up to date would encourage new people to download it.
so people have the doubt that it doesn’t work.
however it is still good
]]>When enabling the Copy button, the frontend creates
<span class="dashicon dashicons dashicons-admin-page"></span>
However, dashicons are only loaded for logged-in users.
Anonymous visitors won’t see the Copy icon.
Sure, I can add dashicons also for the frontend. But loading the dashicons in frontend for anonymous users adds a massive CSS (59 KB!!), just for a single icon.
Any better solution for that?
]]>I’ve used this plugin for code view. But multiple items are not shown anymore. So I can not edit them the normal way.
‘Dit blok is een fout tegengekomen en kan geen voorbeeld tonen’
]]>Hello, please with the developers.
Сan I ask to do a new version of this block – no-js in user particle on site. It need for speed optimized web pages with this blocks.
For create nojs-mod need that method save()
contains all HTML markup that create method edit()
Hello,
Is it possible to turn off the theme selector in the Gutenberg Editor? I’ve overwritten all themes styling, so I want to delete the theme selector.
I hope there is a solution.
Best regards,
Kim
]]>Actually it’s not very important but php snippets without opening tags are not getting highlighted while in gutenberg but OK when browsing the frontend. Testing with WP 5.5, stock gutenberg or latest gutenberg plugin. I’ve just realized it so I don’t know whether it was working or not in past versions.
]]>First, thankyou for the great plugin.
Our problem is that any kind of javascript optimization (minify, etc.) on this site prevents the following files from loading: mode-php.js, mode-html.js, mode-javascript.js, mode-css.js even when we try to exclude them from optimization (either WP Optimization or Asset CleanUp: Page Speed Booster plugins).
The themes are thus not applied.
Any help would be appreciated.
]]>I’m trying the plugin, which is great by the way.
But the block is overlapping with next blocks and i cannot find the correct CSS configuration to solve this.
Do you have a working solution?
Thanks in advance
Best regards
Xavier
]]>Thank you for this plugin, so much better than the default block.
I would like to be able to display a piece of code from the middle of a large file. For example, to make permalinks work, a change needs to be made to the server config file. It’s lines 159 through 163 of the code. I’d like the code snippet to look something like this:
159 <Directory />
160 Options FollowSymLinks
161 AllowOverride All
162 Order deny,allow
163 </Directory>
]]>
Hello,
The plugin is causing JS error on my site, it would be great if you could help me to solve this issue.
This is the error:
Uncaught TypeError: e.indexOf is not a function
at k.fn.init.k.fn.load (jquery.min.js?ver=3.3.1:2)
at frontend.blocks.js?ver=1579285102:3
at frontend.blocks.js?ver=1579285102:51
]]>
I get a lot of errors in the console, and the theme is not showing correctly. I just get basic code blocks. It works fine in post-preview-mode and in Gutenberg. But not in a published post. The errors are to files that supposedly should exist on the path “domain/post-name”. But they don’t.
9702a.js:5 GET domain/post-name/theme-monokai.js net::ERR_ABORTED 404
t.loadScript @ 9702a.js:5
t.loadModule @ 9702a.js:5
setTheme @ 9702a.js:5
setTheme @ 9702a.js:5
(anonymous) @ 9702a.js:9
each @ jquery.js:2
each @ jquery.js:2
(anonymous) @ 9702a.js:9
dispatch @ jquery.js:3
r.handle @ jquery.js:3
load (async)
add @ jquery.js:3
a.event.add @ 9702a.js:3
(anonymous) @ jquery.js:3
each @ jquery.js:2
each @ jquery.js:2
ra @ jquery.js:3
on @ jquery.js:3
bind @ jquery.js:5
a.fn.<computed> @ 9702a.js:3
(anonymous) @ 9702a.js:9
(anonymous) @ 9702a.js:9
9702a.js:5 GET domain/post-name/mode-php.js net::ERR_ABORTED 404
t.loadScript @ 9702a.js:5
t.loadModule @ 9702a.js:5
setMode @ 9702a.js:5
(anonymous) @ 9702a.js:9
each @ jquery.js:2
each @ jquery.js:2
(anonymous) @ 9702a.js:9
dispatch @ jquery.js:3
r.handle @ jquery.js:3
load (async)
add @ jquery.js:3
a.event.add @ 9702a.js:3
(anonymous) @ jquery.js:3
each @ jquery.js:2
each @ jquery.js:2
ra @ jquery.js:3
on @ jquery.js:3
bind @ jquery.js:5
a.fn.<computed> @ 9702a.js:3
(anonymous) @ 9702a.js:9
(anonymous) @ 9702a.js:9
9702a.js:5 GET domain/post-name/mode-html.js net::ERR_ABORTED 404
t.loadScript @ 9702a.js:5
t.loadModule @ 9702a.js:5
setMode @ 9702a.js:5
(anonymous) @ 9702a.js:9
each @ jquery.js:2
each @ jquery.js:2
(anonymous) @ 9702a.js:9
dispatch @ jquery.js:3
r.handle @ jquery.js:3
load (async)
add @ jquery.js:3
a.event.add @ 9702a.js:3
(anonymous) @ jquery.js:3
each @ jquery.js:2
each @ jquery.js:2
ra @ jquery.js:3
on @ jquery.js:3
bind @ jquery.js:5
a.fn.<computed> @ 9702a.js:3
(anonymous) @ 9702a.js:9
(anonymous) @ 9702a.js:9
9702a.js:5 GET domain/post-name/mode-javascript.js net::ERR_ABORTED 404
t.loadScript @ 9702a.js:5
t.loadModule @ 9702a.js:5
setMode @ 9702a.js:5
(anonymous) @ 9702a.js:9
each @ jquery.js:2
each @ jquery.js:2
(anonymous) @ 9702a.js:9
dispatch @ jquery.js:3
r.handle @ jquery.js:3
load (async)
add @ jquery.js:3
a.event.add @ 9702a.js:3
(anonymous) @ jquery.js:3
each @ jquery.js:2
each @ jquery.js:2
ra @ jquery.js:3
on @ jquery.js:3
bind @ jquery.js:5
a.fn.<computed> @ 9702a.js:3
(anonymous) @ 9702a.js:9
(anonymous) @ 9702a.js:9
9702a.js:5 GET domain/post-name/mode-css.js net::ERR_ABORTED 404
]]>
Hello!
I have tried this plugin but I can’t get the horizontal scroll bar to appear. Code outside of view is not reachable on desktop. It is possible to scroll on mobile.
]]>This is probably a bug (feature?) of the editor incorporated into this plugin, but the syntax highlighting of PHP snippets is active only with <?php
tag on the top.
Personally, most of the time I’d like to show code fragments, like a simple function or even a line with variable setup. This requirement of having <?php
tag is not so great.
Is there a chance we could get working PHP highlighting without the starting tag?
]]>Hello.
Thank you for really good plugin for WP.
Could you add some kind of settings to setup default theme for all time and default language? Because I must all time change code language and change theme to that i need.
Thank you.
With regards,
Ivan
I could probably use CSS but is there a way to adjust padding.
Also i can’t seem to make the Copy button appear. Is it theme-dependent?
The code blocks are not visible on mac Safari/iPhone/iPad. They show correctly on mac Chrome and Firefox, and linux Chrome.
On Safari Version 13.0.1 (14608.2.11.1.11) with mac Mojave 10.14.16 the code block appears on the first load. After a refresh, they all disappear.
On iPhone and iPad they don’t appear at all.
I also tried a couple other code format plugins (which I don’t like as much as this one) and they had the same issue for these devices.
I’m running the latest version of WordPress which is currently 5.2.3.
I’ve made sure any caching plugins have been disabled and still have the issue. I’m wondering if any code fixes need to happen to allow correct display on these apple devices/browsers.
Edit: On Safari the pre boxes have a computed height of 0px, with the style tag on pre not having height added. When I start zooming in or out, the pre style tag adds a height and it displays. But it won’t display on the initial load.
Thanks so much.
]]>How can I build this plugin from source as I want to add mode-sh.js for bash/shell highlighting. I tried running ‘php make zip’ and uploaded the resulting zip file but the plugin did not activate because its content is very different from yours.
]]>Hi, i try write php-code. when i write code with ‘if’ and update post – get error.
Don’t checked ‘if’ in another languages. What to do? if it plugin check – please, add all version of if-construction.
Is it possible to hide the line numbers?
]]>I recently discovered your plugin, and it’s working good for me. I suppose this is more of a feature request.
Can you add the “bash” shell scripting language to the list of Languages to pick from? Also, it would be nice if there was a setting to change the default language (PHP) and the default Theme.
Currently, I am just using “PLAIN TEXT” as my language for my bash examples. It works ok, but their is no highlighting.
Thanks!
George
Hi,
Would it be possible to add C# language support ?
Thanks a lot for this great plugin ! Super efficient.
Laurent.
]]>Hello.
I’m using this plugin, and i’m really like it, very fluid.
But my problem is i share tutorials in my wp site in LUA language, and i can’t perfectly share codes with your plugins.
I found SQLSERVER syntax looks pretty similar to the lua, but no highlight for strings (“word”).
I hope you can integrate lua language to your plugin.
Thanks, SaSha
]]>