All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Added optional argument
typetoisSelectionInList
- Avoid merging non-list blocks, even when using the
canMergeoption
- Add
canMergeoption to control which adjacent lists can be merged automatically through normalization.
- Limit package size by publishing only the
distfolder
- Fixed build
- Upgrade to be compatible with Slate 0.32.x
- Fix: delete selection while pressing Enter in a list
- Wider slate peer dependency range
- Fix errors due to some unwanted normalizations in changes.
- Upgrade to be compatible with Slate 0.30.x
- Upgrade to be compatible with Slate 0.27.x
- Upgrade to be compatible with Slate after the
expose-transformbranch went in. - Change all instances of
transformtochange - Change the namespace of
plugin.transformstoplugin.changes
- Add normalization rule to join adjacent lists of the same types.
- Add support for more than two list types through the option
types- BREAKING Removed old options for
typeULandtypeOL. - BREAKING
wrapInListnow takes atypeparam
- BREAKING Removed old options for
- Now supports custom
datafor list containers. Addeddataparameter towrapInList.
- Fix normalization of list items containing just one inline node.
- List items normalization now wraps all their children in a single default block, when needed.
isSelectionInListmade smarter, adapted to fit the case where we can, and cannot, useunwrapList.
wrapInListnow wraps the highest blocks in the selection, and merge selected list together.- Fixed schema rule for list items containing list items.
- Added
utils.getItemsAtRange wrapInListnow wraps the selected blocks in distinct items (not a big, single one)unwrapListnow unwraps all the selected items. Ignores complex ranges that span outside of lists.
- Fix item being unwrapped when hitting Enter in an empty block
- Fix bug with increasing item depth, that would reorder items.
- Fixed issue with selection when unwrapping
- Adapted for Slate@0.16.1
- Fix unwrapping items with nested lists
- Fix items being unwrapped when backspacing after an inline
- Fix slate peer dependency to be less restrictive
- Fix schema validation for content of list items
- Move slate to
peerDependencies
- Use of this plugin with other container plugins (such as
slate-edit-blockquote)
- Undo/Redo of
splitListItemanddecreaseItemDepthactions
- BREAKING Updated to
slate^0.14.x