Thread:Extension talk:WYSIWYG/ tags breaks parsing/reply (3)

Indeed you are right :). I forgot that fix when making wysiwyg use read-only mode between switching modes.

Problem with that part is that for some reason function toHtml is called more than one time and conversion itself takes place asyncronically on background. It can not be commented out because if you do it, page loading will fail at some point. I think I am unable to fix this until we find some other better way to define when conversion from wikitext to html should be triggered.

If I remember right event beforeSetMode was not helpful either... but based on your explanations in other thread, I am starting to second guess may conclusion, perhaps I have to test it again.