-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request - Compatibility for CodeColorer #222
Comments
it should be technically possible. does it only work with the |
No, there are several more. Fundamentally for me the other is |
now i unerstand how it's working... there is only the |
Great! I won't spend time manually adjusting these posts on my website. :) |
Thanks so much for everything you have done so far Andi! Stay safe in the COVID-19 Pandemic! Is this CodeColorer still possible at some point? And when it is, I can then delete the plugin from my library? |
maybe next week- the compatibility mode will work like the crayon one - you can remove the old plugin and Enlighter will handle the old shortcodes |
Fantastic! Thanks. |
Thanks. I some to be having some problems. For example, here is the output when the original plugin is active: When I deactivate the plugin and activate the compatibility setting in your beta I then get: This is the link to my original post which has several blocks in it. I can send you my staging link privately if you like (which has the beta active). |
please post your plugin settings -> Enlighter -> About -> Debug (just remove your paths) |
Plugin configuration:
Theme configuration:
I don't see any paths there? |
you've forgot to enable the compatibility mode... |
Ah! Looks Ok to me! Well done! Only possible gotcha is CSS styling because that looks like: I realise it is not an issue because I had this:
It should have been CSS and not XML. Thanks better. |
in case everything is working as expected i'll close the issue |
The only problem I have (not your fault) is that when I tried to edit the original to fix the XML - CSS it had that enscapement problem. Then I went to raw mode and lost all the tabing in the code for the page. Can't get it back. But I don't think it is your code. I am going to try on my live site. |
It is working good: https://www.publictalksoftware.co.uk/2018/05/21/s-89-slips-highlight-when-study-point-not-assigned/ I just have the message up page there now as I have lost the tab characters and can't seem to locate a revision of the page that I can restore. And editing the page is complicated. Not your plugin fault. |
Question: I edited my original post with the code editor view of Wordpress and I pasted back in the content for the code snippets (so they were tab delimited). I pasted each set of code inside the [cc] shortcode chunks. But when I clicked "update page" I still ended up with everything on the left. My other pages are all great, like: https://www.publictalksoftware.co.uk/2019/03/25/customising-the-worksheet/ I just got to find a way to put the tabs into the original post that I messed up. :) |
it's the standard WordPress behaviour in case the content is not wrapped into |
I used to use the CodeColor plugin for syntax highlighting. Here is an example post on my website using this plugin.
The syntax is similar to yours:
The plugin is problematic in the sense that you must make sure you are in the Gutenberg "Code Editor" mode before opening the post to edit it. Otherwise must content is lost.
So is it possible to add "CodeColorer" to your compatibility list so that I can deactivate and unload the plugin?
The text was updated successfully, but these errors were encountered: