jeudi 26 mars 2015

extjs How to provide custom mode(own language js) in code mirror?


Vote count:

0




In my extjs project, I have a textarea that has code mirror functionality. like this, Javascript/ExtJS - get Codemirror Editor by textarea


Here, mode field in CodeMirror accepts the language that we used to provide it in the script of index.html.


as for example for mode: "javascript"


In index.html I used to provide


Problem: I want to include my own language I have my own js.How should I include it in index.html so that mode in CodeMirror should take that js



asked 48 secs ago







extjs How to provide custom mode(own language js) in code mirror?

Aucun commentaire:

Enregistrer un commentaire