'htmlmixed' mode in CodeMirror

Can you guys provide me a sample code for using ‘htmlmixed’ mode in CodeMirror?
there is an error in my code :
Uncaught TypeError: Object #<Object> has no method 'startState'

Are you loading js files of CodeMirror manually or are you using auto-loading feature of codemirror-editor view ?

In first case - be sure that codemirror/mode/xml/xml.js is included.
In second case - please update the codemirror component from the github repo.

Thank you, maksim. I’m using the second way. It’s working now after I updated it from the github.