FCKEditor has a nasty habit to convert any processing instruction that I input to comments (<?start?> converts to <!--?start?-->). I Wrote plugin that needs to insert some PI, but it constantly keep changing PI to comment.
Here is the code that I use to insert data
Is there a command or some workaround for this problem?
Here is the code that I use to insert data
var toInsert = "<?zad_insert_start author='" + someval0 + "' date='" + someval1 + "' comment='" + someval2 + "' ?>" + someval3 + "<?zad_insert_end?>"; FCK.InsertHtml(toInsert);
Is there a command or some workaround for this problem?
Re: Stop converting processing instructions to comments
Ok I figured it out. You need to add following line in your custom fckconfig.js file
This line adds regular expression for tags that will be protected during editing phase. This will protect all processing instruction tags and also famous php PI
.

Hopefully this info might be useful to anyone with similar problem that I have