vue-codemirror
vue-codemirror copied to clipboard
@codemirror code editor component for @vuejs
I don't find an example which contains the lint for json editor. However,when I use the lint as this : component.js import { codemirror } from 'vue-codemirror' // lint import...
Hi all. Does anyone know how to trigger a function on a vim command? E.g. I want to trigger a Vue method when one types `:w` when using Vim mode....
I would love to use the graphql mode and autocomplete options : https://github.com/graphql/graphiql/tree/master/packages/codemirror-graphql#readme However i am not sure if it is supported by vue-codemirror. If so, could anyone provide an...
I do not understand how to work with tips. Can you give an example of how to display a list of tips when printing? in the @changes="onSuggest" method, I get...
Hey Surmon, I just configured jsonlint and vue-codemirror but it looks like linting is not triggered. I found few problem and walkarounds for them like fixing jsonlint issue ``` //...
Can give me an example of use vue-codemirror in only component and no need add plugin ?
CodeMirror has the option to define additional overlays (See https://codemirror.net/doc/manual.html#api_configuration). How can we configure this in vue-codemirror? I want to add an overlay that highlights "forbidden words". This code should...
Please write a typescript definition file.
I have put together a short example how to get `vue-codemirror` to work in VuePress. Feel free to update your docs with a link or copy the code. Thanks for...
For example, instead of: `` We could do ``` My Code Sample This is not to be rendered, instead output as a string ``` Thank you