Tag Archives: WP-Syntax

Adding GeSHi/WP-Syntax compatible pre HTML tag button to WordPress Quicktags Javascript editor

Wordpress Logo BlueIf you're anything like me your blog is probably full of code snippets and you're using WordPress Quicktags editor to enter your posts content. You're also using GeSHi compatible syntax highliter like WP-Syntax to make your code snippets more readable.

In this article I'll give you Javascript and PHP code I've created to add GeSHi compatible pre button to my blog's Quicktags editor toolbar on both frontend and backend.

Continue reading