vue-codemirror icon indicating copy to clipboard operation
vue-codemirror copied to clipboard

@codemirror code editor component for @vuejs

Results 94 vue-codemirror issues
Sort by recently updated
recently updated
newest added

How to trigger the event of double clicking a line number? thank you 如何触发双击行号的事件?

### Describe the bug Got issue in lang-javascript event i installed Cannot find module '@codemirror/lang-javascript' or its corresponding type declarations.ts(2307) ![image](https://user-images.githubusercontent.com/10995629/182852328-f197742a-fe66-4fc7-921d-8a996775d49b.png) ![image](https://user-images.githubusercontent.com/10995629/182852376-4e151800-8756-4129-a07b-72d6a0755ee0.png) im using @storybook/builder-vite" ### Reproduction Will create sandbox...

### Clear and concise description of the problem How to support custom syntax highlighting in latest version 6. ### Suggested solution v6.0 ### Alternative _No response_ ### Additional context _No...

when i try to import javascript.js as README does, it doesn't work, the next is the code in README : `import 'codemirror/mode/javascript/javascript.js'` thus, i try to use the code below...

引用github demo:https://github.com/surmon-china/vue-codemirror/blob/master/examples/02-text-javascript.vue ![default](https://user-images.githubusercontent.com/11831189/39121567-9eddb7bc-4724-11e8-96d7-41ffb94e28bd.jpg)

with style overlap

"destroy" hook removes DOM element before transition animation finishes. Expected behaviour - remove DOM element after transition is finished, if this is really necessary for garbage collecting? (is it?) Related...

### BUG REPORT TEMPLATE I think this issue is affecting vue-codemirror: https://github.com/codemirror/CodeMirror/issues/5484 #### Vue.js version and component version VueJs: 2.5.22 vue-codemirror: 4.0.6 #### Reproduction Link As far as I can...

Exception in editor rendering of child element when parent element is switched from hidden state to display state

> vue:2.6.0 > component: 4.0.6 `` the world of 'hello' is not displayed

Hi guy! I have a question, how can i add something in the cursor in the codemirror I have a button, when i click it , it can give me...