slate-edit-list
Version:
A Slate plugin to handle keyboard events in lists.
41 lines (40 loc) • 1.09 kB
YAML
nodes:
- kind: block
type: ul_list
nodes:
- kind: block
type: list_item
nodes:
- kind: block
type: paragraph
nodes:
- kind: text
text: First item
- kind: block
type: list_item
nodes:
- kind: block
type: paragraph
nodes:
- kind: text
text: Second item
- kind: block
type: ol_list
nodes:
- kind: block
type: list_item
nodes:
- kind: block
type: paragraph
nodes:
- kind: text
text: First item in the nested list
- kind: block
type: list_item
nodes:
- kind: block
type: paragraph
key: '_selection_key'
nodes:
- kind: text
text: Second item in the nested list