How i can add js snippets in codemirror 5.
This question is so unspecific and vague to be entirely unanswerable, sorry.
Sorry marijin, I will try to explain my question to you better.
CodeMirror 5 doesn’t come with snippet support built-in. I think there were 3rd party implementations floating around at some point but I can’t find a proper one right now. CodeMirror 6 does support these, see the docs (but note that that rewrite isn’t stable yet).