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

Highlighting is broken

Open yelodevopsi opened this issue 1 year ago • 1 comments

Environment

Check your https://stackblitz.com/edit/nuxt-starter-ev2hgm?file=app.vue

Reproduction

Run the readme.md stackblitz

Describe the bug

There is not high-lighting through the basic-setup prop. Does this even work?

Additional context

No response

Logs

No response

yelodevopsi avatar Aug 27 '24 08:08 yelodevopsi

Hi, Thank you for providing an issue report. The basicsetup logic does work except for the highlighting.

I have checked why the highlighting doesn't work but I have to dig deeper to find a real solution.

The current workaround is to npm install codemirror Then import { basicSetup } from 'codemirror' Add basicSetup in your extensions array disable the basicSetup prop by setting it on false

ThimoDEV avatar Aug 27 '24 19:08 ThimoDEV