I have installed Syntax Highlighter Evolved to simplify code snippets writing and highlighting. I know that it is quite popular and used by many bloggers, so I must be doing something wrong because it drives me mad.
I’m writting my first blog post and I want to include several C# and XML code snippets. I can include one snippet format it as I need but when I continue with second snippet (switching between HTML and Wysiwyg editor and saving draft several times) it sometimes lost formatting of my former snippet (in case of XML it deletes whole snippet). What I’m doing wrong?
I’m using version 3.1.1 of syntax highlighter and WordPress 3.1. I’m writting my post directly in WordPress admin interface.
2 Answers
its not the plugins issue, it is problem with wordpress’s visual editor. i used this plugin : http://wordpress.org/extend/plugins/tinymce-advanced/ which enabled me to fix and work better, because it have option to disable code stripping.
take a look and let me know if it works 🙂
cheers