Skip to content

Latest commit

 

History

History
852 lines (486 loc) · 25.3 KB

CHANGELOG.md

File metadata and controls

852 lines (486 loc) · 25.3 KB

@udecode/plate-list

42.0.0

41.0.0

Patch Changes

40.0.0

39.0.0

38.0.1

Patch Changes

38.0.0

37.0.0

Major Changes

  • #3420 by @zbeyens
    • createListPlugin -> ListPlugin
    • NEW BulletedListPlugin
    • NEW NumberedListPlugin
    • NEW ListItemPlugin
    • NEW ListItemContentPlugin
    • NEW list transforms: toggle.list, toggle.bulletedList, toggle.numberedList
    • Remove type utils: getListItemType, getUnorderedListType, getOrderedListType, getListItemContentType
    • Replace insertBreakList(editor) with withInsertBreakList(ctx)
    • Replace insertFragmentList(editor) with withInsertFragmentList(ctx)
    • Replace insertBreakTodoList(editor) with withInsertBreakTodoList(ctx)
    • Replace deleteForwardList(editor) with withdeleteForwardList(ctx)
    • Replace deleteBackwardList(editor) with withdeleteBackwardList(ctx)
    • Move list options from ul and ol to list plugin
    • toggleList options are now { type: string }

36.5.2

36.0.0

34.0.0

33.0.3

Patch Changes

33.0.2

Patch Changes

33.0.0

32.0.0

31.1.3

Patch Changes

31.0.0

30.5.3

Patch Changes

  • 4cbed7159 by @zbeyens – Move @udecode/plate-common to peerDeps to fix a bug when multiple instances were installed

30.4.5

30.1.2

30.0.0

29.1.0

29.0.1

29.0.0

28.0.0

Patch Changes

  • #2816 by @12joan
    • Replace useEdtiorState with useEditorSelector

27.0.3

27.0.0

25.0.1

25.0.0

24.5.2

24.4.0

Minor Changes

24.3.6

24.3.5

24.3.2

24.3.1

24.3.0

24.2.0

24.0.2

24.0.1

24.0.0

23.7.4

23.7.2

Patch Changes

  • #2597 by @nicktrn – Prevent deleteBackward and deleteForward from creating empty nodes when merging sibling list items with multiple children

23.7.0

23.6.0

23.3.1

23.3.0

23.2.0

Patch Changes

  • #2559 by @dimaanj
    • list plugin: call deleteFragmentList only if in a list

22.0.2

22.0.1

22.0.0

21.5.0

21.4.2

21.4.1

21.3.2

21.3.0

21.1.5

21.0.0

20.7.2

20.7.0

Minor Changes

  • #2351 by @almeraikhi – Enables the developer to enable or disable the checkbox state inheritance when creating a new todo list item.

    The option is configurable for when a line break is inserted from the start of the node or the end of the node.

    The plugin now has two new optional options:

    createTodoListPlugin(
        options:{
            inheritCheckStateOnLineStartBreak: false,
            inheritCheckStateOnLineEndBreak: false
        }
    )

    inheritCheckStateOnLineStartBreak option will create a new todo item on top of the current one, and the new todo item will inherit the checkbox state of the current todo item. Default value is false.

    inheritCheckStateOnLineEndBreak option will create a new todo item below the current one, and the new todo item will inherit the checkbox state of the current todo item. Default value is false.

20.4.0

20.3.2

20.0.0

19.7.0

19.5.0

19.4.4

19.4.2

19.4.1

Patch Changes

  • #2180 by @12joan – Ignore defaultPrevented keydown event

19.2.0

19.1.1

19.1.0

Patch Changes

  • #2141 by @12joan – Fix crash when deleting line ending in \n

19.0.3

19.0.1

19.0.0

18.15.0

18.13.0

18.9.2

Patch Changes

  • #1986 by @charrondev – Fix Tab and Shift+Tab adjust selection ranges with the list plugin.

18.9.0

18.7.0

18.6.0

18.2.0

18.1.1

17.0.3

17.0.2

17.0.1

17.0.0

16.8.0

16.6.1

Patch Changes

  • #1842 by @zbeyensmoveListItems should return a boolean (whether it has been moved)

16.5.0

16.4.2

Patch Changes

16.4.1

Patch Changes

16.3.0

16.2.0

16.1.0

16.0.2

16.0.0

15.0.6

Patch Changes

  • #1728 by @dylans – Retain order of blocks when converting to a list

15.0.3

15.0.0

14.4.3

Patch Changes

  • #1693 by @zbeyens – fix: list plugin was preventing default event even when selection was not containing any list node

14.4.2

14.4.0

Minor Changes

14.1.0

Minor Changes

14.0.2

14.0.0

Minor Changes

  • #1642 by @zakishaheen – Improved list item indentation when selection spans across different elements

13.8.0

Patch Changes

  • #1651 by @davisg123 – Some types of nested lists are not unwrapped completely

13.7.0

13.6.0

Patch Changes

  • 42c5ed1 by @zbeyens – Toggling a nested list that includes paragraph content should toggle all nested list elements

13.5.0

13.3.1

Patch Changes

  • #1607 by @dylans – Fix list deleteBackward with custom type

13.1.0

11.2.1

11.2.0

Minor Changes

  • #1560 by @zbeyens
    • fix: tab / untab when composing with IME
    • update peerDeps:
      • "slate": ">=0.78.0"
      • "slate-react": ">=0.79.0"

11.1.0

11.0.6

11.0.5

11.0.4

11.0.3

11.0.2

11.0.1

11.0.0

10.5.3

10.5.2

10.5.0

10.4.2

10.4.1

10.4.0

10.2.2

10.2.1

10.1.2

10.1.1

Patch Changes

  • #1388 by @zbeyens – fix for docs only: use Array.from instead of destructuring generators

10.1.0

Minor Changes

  • #1386 by @fakedarren – Improvements to list behaviours:

    • copy/paste of lis into existing lists
    • behaviour of browser autocorrection

    Improvements to list-specific tests

10.0.0

9.3.1

9.3.0

9.2.1

9.2.0

Patch Changes

  • #1336 by @fondation451 – Copy/paste inside a list now works properly with pasting text: The text was not pasted at all. For other kind of nodes like "p", there were pasted but inside the same bullet.

9.0.0

8.3.0

8.1.0

8.0.0

7.0.2

7.0.1

7.0.0

6.4.1

6.4.0

6.3.0

6.2.0

6.1.0

6.0.0

5.3.5

Patch Changes

5.3.1

Patch Changes

5.3.0

Patch Changes

5.1.0

Minor Changes

Patch Changes

4.4.0

Patch Changes

4.3.7

Patch Changes

4.3.0

Patch Changes

4.2.0

Minor Changes

  • #1058 6fe49e22 Thanks @ghingis! - Normalizer:
    • now merges lists with the same type next to each other
    • if a list has no lic and it has children it moves those childrens up a level

Patch Changes

  • #1058 87cca4a0 Thanks @ghingis! - fix:
    • toggleList works as expected
    • moveListItemDown wrap transformations in withoutNormalizing (it caused a pathing issue since the normalization would remove the created empty list)

4.1.0

Minor Changes

3.5.1

Patch Changes

3.4.0

Patch Changes

3.2.1

Patch Changes

3.2.0

Minor Changes

Patch Changes

3.1.3

Patch Changes

3.1.2

Patch Changes

3.0.4

Patch Changes

  • #971 46398095 Thanks @vimtor! - List plugin was preventing all tab key strokes without checking if a list item was being selected. Fix: Don't prevent tab if list is not selected.

2.0.0

Patch Changes

1.1.8

Patch Changes

  • #927 a3825e35 Thanks @zbeyens! - partial fix pasting into lists, if the selection is in li:
    • preInsert: override the default (do not run setNodes)
    • filter out ul and ol from the fragment to paste only li
    • override insertFragment by insertNodes. Note that it implies that the first fragment node children will not be merged into the selected li.

1.1.6

Patch Changes

1.0.0

Major Changes

🎉 The Slate Plugins project has evolved to Plate 🎉

To migrate, install @udecode/plate[-x] then find and replace all occurrences of:

  • slate-plugins to plate
  • SlatePlugins to Plate
  • SlatePlugin to PlatePlugin

1.0.0-next.61

This is the last version of @udecode/slate-plugins[-x], please install @udecode/plate[-x].

Patch Changes

1.0.0-next.59

Patch Changes

1.0.0-next.57

Patch Changes

  • #858 5abacbc2 Thanks @dylans! - wrap toggleNode inside a withoutNormalizing call to prevent errors when inserting new lists

1.0.0-next.56

Patch Changes

1.0.0-next.55

Patch Changes

1.0.0-next.54

Patch Changes

1.0.0-next.53

Patch Changes

1.0.0-next.51

Patch Changes

  • #828 be3023db Thanks @zbeyens! - fix:
    • Can't delete a list as first block
    • Deleting at the start of the first list item is deleting a character from the previous block

1.0.0-next.50

Minor Changes

Patch Changes

1.0.0-next.48

Patch Changes

1.0.0-next.46

Patch Changes

1.0.0-next.43

Minor Changes

1.0.0-next.42

Minor Changes

  • #787 e10f2fa4 Thanks @zbeyens! - feat:
    • (shift+)tab will (un)indent the highest selected list items (multi blocks support)
    • Hotkeys support

Patch Changes

  • #787 558a89da Thanks @zbeyens! - normalizer: set node with ELEMENT_LIC type to ELEMENT_DEFAULT if its parent type is not ELEMENT_LI

1.0.0-next.40

Patch Changes

1.0.0-next.39

Patch Changes

1.0.0-next.38

Patch Changes

1.0.0-next.37

Patch Changes

1.0.0-next.36

Patch Changes

1.0.0-next.32

Patch Changes

1.0.0-next.31

Patch Changes

  • #702 15cdf5d7 Thanks @zbeyens! - fix: when unwrapping list, set node to paragraph instead of unwrapping lic

1.0.0-next.30

Patch Changes

1.0.0-next.29

Patch Changes

1.0.0-next.27

Patch Changes

  • #670 88d49713 Thanks @ngfk! - unwrap and reset to default element when removing a list item (first element, non-nested)

1.0.0-next.26

Patch Changes