add list option to nodes
This commit is contained in:
@@ -12,6 +12,11 @@ export interface NodeExtensionSpec<Options = {}, Commands = {}> extends Overwrit
|
||||
*/
|
||||
topNode?: boolean,
|
||||
|
||||
/**
|
||||
* List
|
||||
*/
|
||||
list?: boolean,
|
||||
|
||||
/**
|
||||
* Content
|
||||
*/
|
||||
@@ -158,6 +163,7 @@ const defaultNode: NodeExtension = {
|
||||
type: 'node',
|
||||
name: 'node',
|
||||
topNode: false,
|
||||
list: false,
|
||||
content: null,
|
||||
marks: null,
|
||||
group: null,
|
||||
|
||||
Reference in New Issue
Block a user