Releases: ianstormtaylor/slate
slate@0.124.0
slate@0.123.0
Minor Changes
- #6000
8d9bf305Thanks @nabbydude! - AddedLocation.isPath,Location.isPoint,Location.isRange, andLocation.isSpanfunctions, as efficient type discriminators.
Use these instead ofPath.isPath,Point.isPoint,Range.isRange, andSpan.isSpanwhenever possible.
slate-react@0.124.0
Patch Changes
- #6012
57bdd4feThanks @changlin-cn! - Fix Slate component to properly handle editor updates by addingeditoras a dependency in the useEffect hook.
slate-react@0.123.0
Patch Changes
- #6000
8d9bf305Thanks @nabbydude! - AddedLocation.isPath,Location.isPoint,Location.isRange, andLocation.isSpanfunctions, as efficient type discriminators.
Use these instead ofPath.isPath,Point.isPoint,Range.isRange, andSpan.isSpanwhenever possible.
slate-hyperscript@0.115.0
Patch Changes
-
#5862
98b115b7Thanks @12joan! - Increase minimumslateversion to0.114.3 -
#5859
72532fd2Thanks @12joan! - OptimizeisElement,isText,isNodeListandisEditorby removing dependency onis-plain-objectand by performing shallow checks by default. To perform a full check, including all descendants, pass the{ deep: true }option toisElement,isNodeListorisEditor.
slate-history@0.115.0
Patch Changes
-
#5866
7f5f9e1cThanks @nabbydude! - Fix certain undos undoing more than they should -
#5862
98b115b7Thanks @12joan! - Increase minimumslateversion to0.114.3 -
#5859
72532fd2Thanks @12joan! - OptimizeisElement,isText,isNodeListandisEditorby removing dependency onis-plain-objectand by performing shallow checks by default. To perform a full check, including all descendants, pass the{ deep: true }option toisElement,isNodeListorisEditor.
slate-dom@0.124.0
slate-dom@0.123.0
Patch Changes
- #6000
8d9bf305Thanks @nabbydude! - AddedLocation.isPath,Location.isPoint,Location.isRange, andLocation.isSpanfunctions, as efficient type discriminators.
Use these instead ofPath.isPath,Point.isPoint,Range.isRange, andSpan.isSpanwhenever possible.
slate@0.120.0
Patch Changes
- #5971
addf0c51Thanks @nabbydude! - Removed the last traces of immer and eliminated it as a dependency
slate-react@0.120.0
Minor Changes
- #5968
49f28e50Thanks @TyMick! - Scroll to focus point of expanded selections indefaultScrollSelectionIntoView
Patch Changes
-
#5976
3d38db8fThanks @semimikoh! - Fix slate-dom peer dependency to require >=0.119.0 to resolve containsShadowAware import error -
#5975
d0d192b8Thanks @nabbydude! - Allow onValueChange and onSelectionChange to trigger on the same frame, fixing a few bugs where one was not being called