rennzhang / codemirror-editor-vue3

CodeMirror component for Vue3
https://rennzhang.github.io/codemirror-editor-vue3
MIT License
195 stars 39 forks source link

发现好多codemirror的属性都没有 #43

Closed DanileQin closed 11 months ago

DanileQin commented 11 months ago

期待有的属性 image

DanileQin commented 11 months ago

我看源码目前只有如下: value: string; options: EditorConfiguration; globalOptions: EditorConfiguration; placeholder: string; border: boolean; width: string | number | null; height: string | number | null; originalStyle: boolean; keepCursorInEnd: boolean; merge: boolean; name: string; marker: () => HTMLElement; unseenLines: any[];

rennzhang commented 11 months ago

我看源码目前只有如下: value: string; options: EditorConfiguration; globalOptions: EditorConfiguration; placeholder: string; border: boolean; width: string | number | null; height: string | number | null; originalStyle: boolean; keepCursorInEnd: boolean; merge: boolean; name: string; marker: () => HTMLElement; unseenLines: any[];

这些只是组件自身的属性,codemirror 的配置项传到options对象里 image image