This plugin adds a code button for WordPress CKEditor which helps to type or edit tag for Alex Gorbatchev's SyntaxHighlighter.
This plugin provides an additional code button for WordPress CKEditor so that you can use syntaxhighlighter with CKEditor.
CKEditor For WordPress plugin replaces the default WordPress editor with CKEditor, while Auto SyntaxHighlighter plugin intergrates alexgorbatchev SyntaxHighlighter JavaScript package into WordPress but doesn’t provide a code button for CKEditor. This is why I created the plugin.
If you opt not to install Auto SyntaxHighlighter plugin, then your code will simply be wrapped with pre tag.
Auto SyntaxHighlighter is not the only choice, there are plenty of plugins out there that integrate Alex Gorbatchev’s SyntaxHighlighter into WordPress, choose as you like.
Note: If you encounter any problem after upgrading please clear your browser’s cache.
To give the pre tag a special style in the visual editor, go to “CKEditor->Advanced Settings”, set “Editor CSS” to be Define css, set “CSS path” to be http://yourdomain.com/wp-content/plugins/syntaxhighlighter-ckeditor-button/ckeditor.css. Please replace yourdomain.com with the real path of your “WordPress Address” defined in “Setings->General”.
Save the settings and enjoy.
Note: If you encounter any problem after upgrading please clear your browser’s cache.