FORUMS CLOSED DUE TO SPAM. YOU STILL CAN ADD POST!

Plugin: CodePress Syntax Highlighting

Feed 13 posts, 8 voices

Avatar
4 posts

Hi,

this one adds CodePress - a syntax highlighting editor. Currently it's limited to layouts, though. (I didn't want to mess up with the Textile and Markdown plugins ;-)

http://lizmo.s3.amazonaws.com/codepress-plugin.tar.gz

 
Avatar
83 posts

works great. thanks for this!

 
Avatar
343 posts

Yeah, cool idea. I'll give it a go, when i'll have some free time. Thanks for your contribution. Hope there's more to come.

 
Avatar
1493 posts

Thanks for this! I have added it to the user-authored plugins page. Do let me know if you would like an “author” link!

 
Avatar
541 posts

no yet compatible with safari :(

 
Avatar
4 posts

Since CodePress seems not to be actively developed at the moment, I think about switching to EditArea which has better browser support (but is quite a bit slower, I guess).

 
Avatar
3 posts

I finally managed to create a wiki page for that one: http://wiki.lizmo.de/labs:codepress

So the download link changes to: http://wiki.lizmo.de/_media/labs:codepress-frogplugin.tar.gz

[Writing as „lizmo“ since my password for „netnoise“ could not be recovered fo some reason.]

 
Avatar
1493 posts

Thanks for that netn…, err, lizmo. :) MadeByFrog page has been updated.

 
Avatar
2 posts

The links don’t seem to be working.
Does anyone have a working link?

 
Avatar
3 posts

I edited my post above, so the link is now correct.

 
Avatar
2 posts

Excellent!
Works flawlessly, though changed the language to PHP, instead of HTML.

 
Avatar
8 posts

I’ve modified the Codepress plugin to work as a filter (partially). In addition to the Layouts section, Codepress can be selected within the Snippets section too.

However, it doesn’t play very nicely with TinyMCE and FCKEditor due to it’s use of iframes, therefore I have disabled the Codepress filter on the Pages filter and disabled TinyMCE/FCKEditor under the Snippets filter (using some nasty Javascript hacks in codepress.js).

If you want to try this version, then you can download it from:

http://drop.io/codepress_frogplugin_4snippets

I haven’t worked out yet how to get it to co-exist with other in-line editors that are dependant on embedded iframes. Any help/suggestions here would be greatly appreciated.

Also EditArea looks like a viable alternative to Codepress as it seems to be under active development (more so than Codepress).

 
Avatar
1493 posts

@sc00t3r – just tried this. Very nice! Great to have this working with snippets as well as layouts.

Now … if we could get it working on CSS files, too … :) But actually, since they are editable outside the CMS, it isn’t such a big deal.

Do you know of other options besides Codepress and EditArea? I think that the Codepress author has been developing something else (MDK Editor??). There’s a thing called CodeMirror and the Mozilla Labs Bespin looks fascinating.

Meanwhile, thanks for this Codepress tweak!

 
Avatar
3 posts

Thanks for pointing to CodeMirror. Looks pretty good, fast and works in Safari.