@codemirror/state
Advanced tools
Changelog
6.1.2 (2022-09-21)
Fix an issue where, when multiple transaction extenders took effect, only the highest-precedence one was actually included in the transaction.
Changelog
6.1.1 (2022-08-03)
Fix a bug in range set span iteration that would cause decorations to be inappropriately split in some situations.
Changelog
6.1.0 (2022-06-30)
Refine change mapping to preserve insertions made by concurrent changes.
The enables
option to Facet.define
may now take a function, which will be called with the facet value to create the extensions.
Changelog
6.0.1 (2022-06-17)
Fix a problem that caused effects' map
methods to be called with an incorrect change set when filtering changes.
Changelog
0.20.1 (2022-06-02)
EditorView.phrase
now accepts additional arguments, which it will interpolate into the phrase in the place of $
markers.
Changelog
0.20.0 (2022-04-20)
The deprecated precedence names fallback
, extend
, and override
were removed from the library.
Fix a bug where, if an extension value occurs multiple times, its lowest, rather than highest precedence is used.
Fix an issue where facets with computed inputs would unneccesarily have their outputs recreated on state reconfiguration.
Fix a bug in the order in which new values for state fields and facets were computed, which could cause dynamic facets to hold the wrong value in some situations.
The exports from @codemirror/rangeset now live in this package.
The exports from @codemirror/text now live in this package.
Changelog
0.19.9 (2022-02-16)
Mapping a non-empty selection range now always puts any newly inserted text on the sides of the range outside of the mapped version.
Changelog
0.19.8 (2022-02-15)
Fix a bug where facet values with computed inputs could incorrectly retain their old value on reconfiguration.