codemirror with javascript code inside it
I am having problem with codemirror http://codemirror.net/. When I type <script>
inside the cod开发者_开发技巧emirror extra script
is appended on >
. For instance, I am writing <script
as soon as I type >
it becomes <scriptscript>
. Has anyone gone through this problem too?
(New user, so I can't add a comment.) Which mode are you using? I tried both http://codemirror.net/jstest.html and http://codemirror.net/mixedtest.html, but can't reproduce the problem. Also, which browser, and please check your error console for JS error messages.
精彩评论