I've seen nerbert's solution but i don't really like EditArea
I'd love to use codemirror with vbulletin as mode, i get codemirror working but the html mixed mode don't fit well with vbulletin template syntax.
I ended up grabbing vbulletin mode from vb5 but it doesn't work very well, for example as i said the style is for some html reasons different and also I can't use anymore codemirror's addons, such as code folding and autoclose tag.. So i'd love to see how you implemented it if possible, i'm not asking to realease a modification of corse