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

Wierd codemirror styles #7

Open kwinso opened 1 year ago

kwinso commented 1 year ago

Component produces codemirror editor with these wierd styles that are little bit hard to edit:

image

This is the setup: image

logue commented 1 year ago

I didn't expect to write the logic for props on the template side.

Component produces codemirror editor with these wierd styles that are little bit hard to edit:

This is just the specification on the CodeMirror side. (To be exact, style-mod) Personally, I think it's a good idea to load a modified version of the OneDark Theme source.

I make it myself, but it is unstable and not at a level that can be put to practical use: https://github.com/logue/codemirror6-bootstrap-theme