Migrating from 0.1.x
#
MultiselectIn version 0.2.x, we introduced Multiselect which required us to change the EditorState
.

With multi-select, the events
property from the EditorState
is now Set<NodeId>
rather than NodeId
:
#
Update collected state valuesTherefore, you'll need to update any existing code that accesses the events
property. For example, any state values collected via the useEditor
hook:
#
Update User Component rulesAdditionally, User Component canMoveIn
and canMoveOut
rules now accepts Node[]
rather than Node
as their first parameter. So, you may have to be update these rules for your components as well: