@codemirror/state
Advanced tools
Changelog
0.18.4 (2021-04-06)
The new Transaction.remote
annotation can be used to mark and recognize transactions created by other actors.
Changelog
0.18.3 (2021-03-23)
The ChangeDesc
class now has toJSON
and fromJSON
methods.
Changelog
0.18.2 (2021-03-14)
Fix unintended ES2020 output (the package contains ES6 code again).
Changelog
0.18.1 (2021-03-10)
The new Compartment.get
method can be used to get the content of a compartment in a given state.
Changelog
0.18.0 (2021-03-03)
tagExtension
and the reconfigure
transaction spec property have been replaced with the concept of configuration compartments and reconfiguration effects (see Compartment
, StateEffect.reconfigure
, and StateEffect.appendConfig
).
Changelog
0.17.2 (2021-02-19)
EditorSelection.map
and SelectionRange.map
now take an optional second argument to indicate which direction to map to.