Work around limitations in tree-shaking software that prevented basicSetup
from being removed when unused.
Change the package name from @codemirror/example-setup
to just codemirror
.
The package no longer exports EditorState
(since that is no longer necessary to set up a basic editor).
The new minimalSetup
export provides a minimal set of editor extensions.
Update dependencies to 0.20.0
Add the extension that shows a crosshair cursor when Alt is held down to the basic setup.
The basic setup now includes the dropCursor
extension.
Update dependencies to 0.19.0
Fix too-low dependency on @codemirror/gutter that could cause broken upgrades.
The basic setup now includes highlightActiveLineGutter
from @codemirror/gutter.
Update dependencies to 0.18.
Putting a theme after the basic setup no longer causes the default highlighter to be used with the theme's editor styling.
The package now also exports a CommonJS module.
First numbered release.