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.
- Accept
immutable@4
- Added optional argument
type
toisSelectionInList
- Avoid merging non-list blocks, even when using the
canMerge
option
- Add
canMerge
option to control which adjacent lists can be merged automatically through normalization.
- Limit package size by publishing only the
dist
folder
- 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-transform
branch went in. - Change all instances of
transform
tochange
- Change the namespace of
plugin.transforms
toplugin.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
typeUL
andtypeOL
. - BREAKING
wrapInList
now takes atype
param
- BREAKING Removed old options for
- Now supports custom
data
for list containers. Addeddata
parameter 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.
isSelectionInList
made smarter, adapted to fit the case where we can, and cannot, useunwrapList
.
wrapInList
now wraps the highest blocks in the selection, and merge selected list together.- Fixed schema rule for list items containing list items.
- Added
utils.getItemsAtRange
wrapInList
now wraps the selected blocks in distinct items (not a big, single one)unwrapList
now 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
splitListItem
anddecreaseItemDepth
actions
- BREAKING Updated to
slate^0.14.x