ThimoDEV / nuxt-codemirror

A nuxt codemirror module to enjoy all the runtime editor possibilities
MIT License
16 stars 2 forks source link

Highlighting is broken #37

Open yelodevopsi opened 1 month ago

yelodevopsi commented 1 month ago

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

ThimoDEV commented 1 month ago

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