Plugin Directory

WP-Syntax Button

This plugin is based on Nick Remeslennikov's CodeColorer TinyMCE Button, which I have only modified to work with WP-Syntax.

Download Version 0.1

This plugin is designed to work with WP-Syntax (http://wordpress.org/extend/plugins/wp-syntax/). It is in fact a copy/paste of CodeColorer TinyMCE Button adapted for wp-syntax, but it takes in consideration that wp-syntax allows you to specify the first line number.

This plugin also corrects a disagreement when switching editor mode. When you use wp-syntax you have to write in HTML editor since line argument is removed by Visual Editor... This is no longer the case.

Note that now, you "must" write your code in Visual Editor : the plugin automatically adds escaped="true" to <pre> tag. If you write your code in HTML editor, you have to encode HTML entities.

Requires: 2.7 or higher
Compatible up to: 2.8
Last Updated: 2009-4-29 Downloads: 3,019

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(3 ratings)

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

Log in to vote.

100,1,1
100,1,1
100,1,1
100,3,3
100,1,1
100,1,1
100,1,1