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