github ianstormtaylor/slate slate@0.134.0

8 hours ago

Minor Changes

  • #6256 f5b29a0 Thanks @dylans! - Add Editor.hasRange to core and have DOMEditor.hasRange and ReactEditor.hasRange use it, falling back to the path check with older slate versions.

  • #6259 1691cc0 Thanks @dylans! - Support Symbol.dispose on path, point and range refs so using declarations can release tracked locations automatically. TypeScript consumers now need TypeScript 5.2 or later with esnext.disposable in lib, or skipLibCheck.

  • #6254 ff18f28 Thanks @dylans! - Add a height option to Transforms.liftNodes to lift matched nodes through multiple ancestors.

Patch Changes

  • #6252 2c83cc2 Thanks @dylans! - Include the next dirty path in normalization loop errors to help locate the normalizeNode logic that keeps a node invalid.

  • #6244 acccce1 Thanks @dylans! - Respect partial inline selections when unwrapping nodes with split: true, preserving unselected portions of the inline.

Don't miss a new slate release

NewReleases is sending notifications on new releases.