slate-edit-list
Version:
A Slate plugin to handle keyboard events in lists.
30 lines (28 loc) • 625 B
YAML
nodes:
- kind: block
type: ul_list
nodes:
- kind: block
type: list_item
nodes:
- kind: block
type: paragraph
nodes:
- kind: text
text: "1st item"
- kind: block
type: list_item
nodes:
- kind: block
type: NOT_AN_ITEM
nodes:
- kind: text
text: "2nd item"
- kind: block
type: list_item
nodes:
- kind: block
type: paragraph
nodes:
- kind: text
text: "3rd item"