Releases: ianstormtaylor/slate
[email protected]
Minor Changes
- #4682
e5380655
Thanks @matthewkeil! - Support SSR for autoCorrect, spellCheck and autoCapitalize.
Fixes prop mismatch between server and client.
Removes the need to add
[email protected]
[email protected]
Patch Changes
-
#4654
2c7750ca
Thanks @anho! - weak guard on DataTransfer to not rely on current window -
#4652
95389ed7
Thanks @karthikcodes6! - Disabled the auto scroll behaviour when the editor has any active selection -
#4650
b6643132
Thanks @e1himself! - Do not disable Grammarly extension in Slate editors
[email protected]
[email protected]
[email protected]
[email protected]
Patch Changes
- #4627
ec01e75f
Thanks @jameshfisher! - Fixed issues where cursor jumps to wrong location
[email protected]
Minor Changes
- #4620
0b59ad54
Thanks @NicklasAndersson! - Support selection in readOnly=true editors.
[email protected]
Minor Changes
- #4540
11ef83b4
Thanks @bryanph! - The Slate Provider's "value" prop is now only used as initial state for editor.children as was intended before. If your code relies on replacing editor.children you should do so by replacing it directly instead of relying on the "value" prop to do this for you.
Patch Changes
-
#4577
4b2e4000
Thanks @jameshfisher! - Fixed a bug that removed the selection when hovering over a non-selectable DOM element -
#4605
87ab2efa
Thanks @jaked! - defer native events within Editable to avoid bugs with Editor -
#4584
f40e515d
Thanks @jameshfisher! - Fixed bug: setting selection fromcontentEditable:false
element causes crash
[email protected]
Patch Changes
-
#4555
c29eea02
Thanks @bryanph! - createEditor is now exported from slate-hyperscript, making it easier to set up custom editor testsFor example:
const jsx = createHyperscript({ creators: { editor: createEditor(aFunctionThatReturnsAnEditorObject) }, elements: { block: { type: 'block' }, inline: { type: 'inline' } } })