You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 KiB
14 KiB
slate
0.72.8
Patch Changes
0.72.3
Patch Changes
- #4703
205d4b7eThanks @e1himself! - Add tests for Editor.unhangRange() behavior
0.72.2
Patch Changes
- #4735
e5427dddThanks @steve-codaio! - Optimize path transforms during normalization
0.72.0
Patch Changes
-
#4708
2fc7ad92Thanks @bryanph! - AllowOperationtype to be extendedFor example:
import type { BaseOperation } from 'slate' type CustomOperation = | BaseOperation | YourCustomOperation | AnotherCustomOperation declare module 'slate' { interface CustomTypes { Operation: CustomOperation; } }
0.71.0
Minor Changes
- #4672
2523dc4fThanks @VictorBaron! - Fix - deep-equals was always returning true when array props were equals.
Patch Changes
- #4671
e3afda94Thanks @unageek! - Fixed the issue where the cursor jumps more than one character unexpectedly
0.70.0
Minor Changes
- #4565
5818aca5Thanks @oliger! - Fix issue with unicode 1.1 smileys followed by a variation selector.
Patch Changes
- #4638
e0f41514Thanks @e1himself! - Improve typescript type ofpropsargument ofTransforms.setNodes()
0.67.1
Patch Changes
- #4578
67badb7dThanks @jameshfisher! - Allow typing at the end of inline elements
0.66.5
Patch Changes
- #4552
37d60c58Thanks @clauderic! - Only apply FirefoxtoSlatePoint()offset fix when the cloned contents end in\n\ninstead of just\n.
0.66.2
Patch Changes
- #4523
0da12c17Thanks @steve-codaio! - Fix setNodes when called with 'split' and a collapsed range
0.66.1
Patch Changes
- #4518
6ec399d4Thanks @TheSpyder! - Fixed flaw in deep-equal algorithm when dealing with nested mark objects
- #4516
59ca7a8fThanks @dylans! - another attempt to get the automated changeset workflow working again
0.66.0
Minor Changes
- #4489
1b560de3Thanks @nemanja-tosic! - Fix paste to empty node losing structure of first block
- #4276
6f47cbbeThanks @TheSpyder! - Switched fromfast-deep-equalto a custom deep equality check. This restores the ability for text nodes with mark values set toundefinedto merge with text nodes missing those keys.
- #4431
55ff8f00Thanks @TheSpyder! - Fixed regression in #4208 where normalization on empty block nodes could not be overridden
- #3820
c6203a2dThanks @githoniel! - unwrapNode call liftNode in reverse order to keep nested block
- #4428
b47d3fd1Thanks @TheSpyder! - Don't setnullinset_node'snewPropertiesobject when usingTransforms.unsetNodes()
Patch Changes
- #4482
dd752df1Thanks @Jokcy! - Fix cursor not correct issue after insert multiple nodes withTransform.insertNodes
- #4296
479a7591Thanks @kellyjosephprice! - Fix mergeNodes moving node into parent sibling
- #4458
95c759a1Thanks @taj-codaio! - Normalization now removes empty text nodes after nonempty nodes with differing styles, but before inline nodes.
0.65.3
Patch Changes
- #4253
0214b630Thanks @TheSpyder! - FixTransforms.wrapNodescrashing when thematchfunction matched only the editor
0.63.0
Minor Changes
- #4230
796389c7Thanks @TheSpyder! - Applying invalidinsert_nodeoperations will now throw an exception for all invalid paths, not just invalid parent paths.
Patch Changes
- #4245
b33a531bThanks @JonasKruckenberg! - Removed lodash dependecy to reduce bundled footprint
- #4208
feb293aaThanks @TheSpyder! - FixError: Cannot get the start point in the node at path [...] because it has no start text nodecaused by normalizing a document where some elements have no children
- #4230
796389c7Thanks @TheSpyder! - Exceptions ineditor.apply()andEditor.withoutNormalizing()will no longer leave the editor in an invalid state
- #4227
e6413d46Thanks @ulion! - Fixed a bug that would allow multiple changes to be scheduled at the same time.
0.62.1
Patch Changes
- #4078
2dad21d1Thanks @TheSpyder! - Fixed inversion ofset_nodeoperations that delete properties on nodes.
- #4168
95f402c5Thanks @ridhambhat! - Fixed a bug in splitting and applying overlapping marks to text nodes.
0.62.0
Minor Changes
c6002024- UpdatedText.equalsto deeply compare text node properties. Previously it only did a shallow comparison, but this made it harder to keep track of more complex data structures at the text level.
- #4154
7283c51fThanks @ianstormtaylor! - Start using 🦋 Changesets to manage releases. Going forward, whenever a pull request is made that fixes or adds functionality to Slate, it will need to be accompanied by a changset Markdown file describing the change. These files will be automatically used in the release process when bump the versions of Slate and compiling the changelog.
c6002024- Added support for custom selection properties. Previously you could set custom properties on the selection objects but it was not a fully supported feature because there was no way to delete them later. Now custom properties are officially supported and deleting them once set is possible.
Patch Changes
c6002024- Fixedmove_nodeoperations to normalize the node in question.
c6002024- Added memoization logic toNode.isNodeListandEditor.isEditorto speed up common code paths.
c6002024- Fixed a bug when merging deeply nested multi-child nodes.
c6002024- Fixed a bug when deleting a hanging range with a trailing void block node.
c6002024- Fixed a bug inEditor.positionswhich caused it to sometimes skip positions in text nodes that were segmented across inlines or marks.