Svelte wrapper for CodeMirror v6
npm install codemirror-svelte-modulesThis is a simple wrapper around Codemirror using their new architecture in v6.
This library was heavily inspired by a similar React library @uiw/react-codemirror
In version 6 CodeMirror only exports modules as described here: CodeMirror v6 Guide
For all the v6 documentation go here: CodeMirror v6 Documentation
``html
`
More details on props and their types coming soon
- extensions: Extensions[]string
- height: string
- minHeight: string
- maxHeight: string
- width: string
- minWidth: string
- maxWidth: boolean
- editable: boolean
- readOnly: boolean
- autoFocus: Extension
- theme: boolean
- basicSetup: string
- initialValue:
`html
``