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

### Describe the bug autocompletion not show ,but when i click enter,i can get autocompletion , this is my code ![image](https://user-images.githubusercontent.com/19516729/192927432-4e5443ee-1709-4c60-a897-dfda730c4ff6.png) ![image](https://user-images.githubusercontent.com/19516729/192927455-051917a0-d0d8-4e5c-bad5-8b226fadbb05.png) ### Reproduction extensions: [sql(), oneDark, autocompletion({ override: [function...

### Describe the bug Get error when using getSearchCursor function ### Reproduction code: ``` import 'codemirror/addon/search/search' import 'codemirror/addon/search/searchcursor' require('codemirror/addon/search/search') require('codemirror/addon/search/searchcursor') var cursor = this.$refs.sqlEditor.codemirror.getSearchCursor(item.matching_substring, false) while (cursor.findNext()) { this.$refs.sqlEditor.codemirror.markText( cursor.from(),...

When you try to build your project with `vite` (Experienced in latest `vitepress`) you'll get into rollup during builds issues as the library supports ESM, but its package.json is not...

### Describe the bug Hello, we have xmls/ other file contents with many lines which exceeds the screen size limit, we have to scroll. Since auto scroll is not configured...

### Clear and concise description of the problem I see in [src/config.ts](https://github.com/surmon-china/vue-codemirror/blob/682ae5e6a737c1e4e06d32cd20d44f8d9b7b4a03/src/config.ts) that `vue-codemirror` uses `import { basicSetup } from 'codemirror'` to set the default config which according to [the...

### Describe the bug When I was using it with other plugins, I found that I couldn't input spaces. After checking, I found that another plugin monitored the space button...

### Describe the bug 1. Define two NPM Vue components, both of which use codemirro. At the same time, both components use ncu u to upgrade all dependencies 2. If...

### Describe the bug ` import { Codemirror } from 'vue-codemirror' const cmOption = { lineNumbers: true, lineWrapping: true } long text not wrap ` ### Reproduction ` import {...

### Clear and concise description of the problem I need to highlight few lines by green color, I checked codemirror documentation but I am not able to understand (apologies as...

### Clear and concise description of the problem 现在的提示: ![image](https://github.com/surmon-china/vue-codemirror/assets/43539608/ba7be61a-b816-4916-9444-05f2caa5adf2) 理想的sql语言的配置: ![image](https://github.com/surmon-china/vue-codemirror/assets/43539608/c2040cd5-39a8-4c21-b16b-75667d0d8b2a) ### Suggested solution 通过配置项进行过滤或指定 ### Alternative _No response_ ### Additional context _No response_ ### Validations - [X] Check...