Releases: ianstormtaylor/slate
[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' } } })
[email protected]
[email protected]
[email protected]
Patch Changes
- #4552
37d60c58
Thanks @clauderic! - Only apply FirefoxtoSlatePoint()
offset fix when the cloned contents end in\n\n
instead of just\n
.
[email protected]
Patch Changes
- #4304
7ba486aa
Thanks @davidruisinger! - Fixed a bug where text was typed backwards within nested editor
[email protected]
Patch Changes
-
#4547
677da0ca
Thanks @clauderic! - Fixed a bug that caused the editor to be unable to resolve a Slate point from a DOM point when selecting an entire document that ended in a new line in Firefox. -
#4526
bc85497d
Thanks @VictorBaron! - Fix - delete selected inline void in chrome -
#4549
f9c41a56
Thanks @nemanja-tosic! - Fix deletion of expanded range (#4546)
[email protected]
Patch Changes
- #4523
0da12c17
Thanks @steve-codaio! - Fix setNodes when called with 'split' and a collapsed range