[Vuejs]-How to apply styling to html by typing the css code to codemirror editor in vue

0👍

You can style some of elements like cm-editor , cm-scroller, cm-cursor etc.. but are much restricted in styling CodeMirror default formating.
Also themes are bit customizable.
Themes defined with EditorView.theme. That function takes an object whose properties are CSS selectors and whose values are styles, and returns an extension that installs the theme.

You can visit complete docs .

Leave a comment