vue-codemirror
vue-codemirror copied to clipboard
@codemirror code editor component for @vuejs
### Describe the bug I have the following component ```vue import Vue from 'vue' import Component from 'vue-class-component' import Icon from '../Icon.vue' import { Codemirror } from 'vue-codemirror' import {...
### Describe the bug [email protected]引入[email protected]找不到codemirror.vue; 按文档全局挂载:import VueCodemirror from 'vue-codemirror' 组件挂载:import { codemirror } from 'vue-codemirror' 报错信息如下:f:/..../node_modules/vue-codemirror/src/codemirror.vue.js”隐式拥有 "any" 类型。尝试使用 `npm i --save-dev @types/vue-codemirror` (如果存在),或者添加一个包含 `declare module 'vue-codemirror/src/codemirror.vue';` 的新声明(.d.ts)文件ts(7016) ------------------------------------------------------------ 将import路径改为import codemirror...
### Clear and concise description of the problem Is there any chance of implementing a multi-tab editor using `vue-codemirror`? Just like what vscode has:  ### Suggested solution...
### Describe the bug I successfully ran the editor, but there was no code prompt when I entered it, as shown below. I thought there should be console.log prompts and...
### Clear and concise description of the problem # parts of logstash configuration. input { ... } filter { ... } output { ... } ### Suggested solution there is...
### Describe the bug this is my code: ``` change const code = ref('{}') const state = ref() const handleReady = (payload) => { state.value = payload.state console.log( state.value.doc) }...
### Describe the bug ``` import {Codemirror} from "vue-codemirror"; import {markdown} from "@codemirror/lang-markdown"; import {oneDark} from "@codemirror/theme-one-dark"; ``` My code, as shown above, works fine, but when I edit the...
### Describe the bug There's no blinking cursor when the content is empty & editor is focused. There's something wrong with the .cm-cursor div height, it's zero. Here's the trivial...
### Clear and concise description of the problem Can you add a language error message? ### Suggested solution Can you add a language error message? ### Alternative _No response_ ###...
### Describe the bug i use @codemirror/lang-json and i refer to the document to use javascript to write but it gives me the prompt “Unrecognized extension value in extension set...