Crayon Syntax Highlighter for Classic editor OR Gutenberg

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

If you wish to attach one or more files enter the details below.

Maximum filesize per attachment: 1 MiB.

Expand view Topic review: Crayon Syntax Highlighter for Classic editor OR Gutenberg

Re: Crayon Syntax Highlighter for Classic editor OR Gutenberg

by pbnet » Wed May 12, 2021 5:44 am

Nope, doesn't work for me :(

Re: Crayon Syntax Highlighter for Classic editor OR Gutenberg

by rev273 » Tue May 11, 2021 7:58 pm

pbnet wrote: Mon May 10, 2021 5:10 am Any chance you could fix the icon for inserting code?
I press Ctrl+F5 few times in text editor and this button appears. But after saving it's removed again.

Re: Crayon Syntax Highlighter for Classic editor OR Gutenberg

by pbnet » Mon May 10, 2021 5:10 am

Thanks a lot.
The workaround is OK.
Any chance you could fix the icon for inserting code?

Thanks.

Re: Crayon Syntax Highlighter for Classic editor OR Gutenberg

by axew3 » Sat May 08, 2021 2:10 pm

Hello, into my test, using gutenberg i can use the code block to add code into and edit it as more like.

Using the old way instead, may it is:

create the post, or enter to edit it, than switch to code editor mode
and use like this:

Code: Select all

<pre class="lang:default decode:true crayon-selected">... code ...</pre>
Could be also:

Code: Select all

<pre class="lang:php decode:true crayon-selected">... code ...</pre>
Note that, into my test, i had to SAVE THE FILE, in code editor mode, or it may sometime fail on correctly parse the content (adding some unwanted closing tag).
Into my tests, if it is an old, post, the <> icon appear into the old editor that display.
I will take a look as i can to fix and review all the plugin.

Re: Crayon Syntax Highlighter for Classic editor OR Gutenberg

by pbnet » Thu May 06, 2021 12:34 pm

Hello, I'm on WordPress 5.7.1 and PHP v7.4.12.
I've installed the update from: https://www.axew3.com/w3/forums/downloa ... php?id=388 and have the following behavior:
- Visitors accessing my site, can see the correct content displayed by the add-in:

Image

The problem is when adding or editing a new post:
- when adding a new post, the Syntax Highlighter icon is not present, so I don't know how to add the content using the add-in:

Image

- when editing a post that already uses the add-in, the format is not displayed correctly:

Image

Could you please fix this great plugin or give me a hint on what should I do?

Thanks.

Re: Crayon Syntax Highlighter for Classic editor OR Gutenberg

by axew3 » Thu Apr 22, 2021 12:51 pm

Not at moment, but i surely will take a look asap!
Sorry for delay on answer, missed!

Top