github ianstormtaylor/slate v0.17.0
0.17.0

latest releases: slate-dom@0.111.0, slate-react@0.111.0, slate-react@0.110.3...
7 years ago
DEPRECATION CHANGES
  • Some Selection methods have been deprecated! Previously there were many inconsistencies in the naming and handling of selection changes. This has all been cleaned up, but in the process some methods have been deprecated. Here is a full list of the deprecated methods and their new alternatives:

    • moveToOffsets -> moveOffsetsTo
    • moveForward -> move
    • moveBackward -> move
    • moveAnchorOffset -> moveAnchor
    • moveFocusOffset -> moveFocus
    • moveStartOffset -> moveStart
    • moveEndOffset -> moveEnd
    • extendForward -> extend
    • extendBackward -> extend
    • unset -> deselect
  • Some selection transforms have been deprecated! Along with the methods, the selection-based transforms have also been refactored, resulting in deprecations. Here is a full list of the deprecated transforms and their new alternatives:

    • moveTo -> select
    • moveToOffsets -> moveOffsetsTo
    • moveForward -> move
    • moveBackward -> move
    • moveStartOffset -> moveStart
    • moveEndOffset -> moveEnd
    • extendForward -> extend
    • extendBackward -> extend
    • flipSelection -> flip
    • unsetSelection -> deselect
    • unsetMarks

Don't miss a new slate release

NewReleases is sending notifications on new releases.