Major Changes
-
- The previous
@udecode/plate-list
(classic list implementation) has been moved to@platejs/list-classic
.- Migration for users of the classic list:
- Rename all import paths from
@udecode/plate-list
to@platejs/list-classic
. - Update your
package.json
: remove the old@udecode/plate-list
(if it was a direct dependency) and add@platejs/list-classic
.
- Rename all import paths from
- Migration for users of the classic list:
- This package,
@platejs/list
, now contains the functionality previously in@udecode/plate-indent-list
(indent-based list system).- Plugin names have been generalized:
IndentListPlugin
is nowListPlugin
,BaseIndentListPlugin
isBaseListPlugin
, etc. (*IndentList*
->*List*
). - The primary plugin key is now
list
(e.g.,ListPlugin.key
) instead oflistStyleType
. - Constants for list keys previously in
INDENT_LIST_KEYS
are now available underKEYS
fromplatejs
.- Migration for constants:
INDENT_LIST_KEYS.listStyleType
->KEYS.listType
INDENT_LIST_KEYS.todo
->KEYS.listTodo
INDENT_LIST_KEYS.checked
->KEYS.listChecked
- Other
INDENT_LIST_KEYS.*
map toKEYS.*
accordingly.
- Migration for constants:
- Removed
listStyleTypes
option fromListPlugin
. You should control list rendering viarender.belowNodes
instead. - Removed
renderListBelowNodes
.
- Plugin names have been generalized:
- For changelogs of the indent-based list system (now in this package) version
<=48
(when it was@udecode/plate-indent-list
), refer to its archived changelog.
- The previous
-
- Renamed all
@udecode/plate-*
packages to@platejs/*
. Replace@udecode/plate-
with@platejs/
in your code.
- Renamed all