@codemirror/panel
Advanced tools
Changelog
0.19.1 (2021-12-16)
Panels can now define a destroy
method that will be called when they are removed from the view.
Changelog
0.18.2 (2021-05-18)
Fix a bug where an open panel could break scrolling things into view in an editor that was higher than the window.
Changelog
0.18.1 (2021-03-15)
Panels no longer use the class
property on the spec object (just apply the class yourself when creating the DOM element).
It is no longer necessary to call panels()
to use the panel extension (showPanel
automatically enables it).
showPanel
now accepts null as input value, which doesn't produce a panel.
Changelog
0.18.0 (2021-03-03)
Extra CSS classes for panels must now be specified with the class
option. The style
option no longer exists.