github ianstormtaylor/slate slate@0.143.0

5 hours ago

Minor Changes

  • #6321 9ed1e7d Thanks @dylans! - Add editor.getSplitProperties(node, path) to choose the properties copied to the new right-hand node by Transforms.splitNodes. The default remains Node.extractProps(node). Applications can omit or replace IDs while preserving text marks for Enter, fragment insertion and partial-range transforms.

    BaseEditor now requires getSplitProperties; createEditor supplies it. Structural editor implementations and mocks must add the method.

Don't miss a new slate release

NewReleases is sending notifications on new releases.