add list option to nodes

This commit is contained in:
Philipp Kühn
2020-10-30 15:46:15 +01:00
parent 073ef2ee0d
commit e5e47aaa48
6 changed files with 31 additions and 10 deletions

View File

@@ -4,6 +4,8 @@ import { wrappingInputRule } from 'prosemirror-inputrules'
const BulletList = createNode({
name: 'bullet_list',
list: true,
group: 'block',
content: 'list_item+',