logue / vue-codemirror6

⌨️ @codemirror 6 component for @vuejs. Vue2 & Vue3 both supported.
https://logue.dev/vue-codemirror6/
MIT License
123 stars 16 forks source link

fix: coalescing-operator #20

Closed zbjcool closed 11 months ago

zbjcool commented 11 months ago

when i make a formula-editor lib use vue-codemirror6 as dependence. and i have a project using formula-editor lib, i got a error: `You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders | const getCursor = () => view.value.state.selection.main.head; | const listSelections = () =>

  view.value.state.selection.ranges ?? [];

| const getSelection2 = () => view.value.state.sliceDoc( | view.value.state.selection.main.from,`

logue commented 11 months ago

Thank you. I will merge your request once, but since var is not used in coding standard of this project, I will release a new version after fixing it.