Supported methods:
getMarkType(change: Change, type: String) => List<Mark>
Get marks that is a specific type in the selection.
getBlockType(change: Change, type: String) => List<Block>
Get blocks that is a specific type in the selection.
Supported methods:
haveMarks(change: Change, type: String) => Boolean
The selected area have a specific mark type.
haveBlocks(change: Change, type: String) => Boolean
The selected area have a specific block type.
haveInlines(change: Change, type: String) => Boolean
The selected area have a specific inline type.
haveDataKeyInSomeBlocks(change: Change, dataKey: String) => Boolean
Whether there is a specific data key in some blocks.
haveDataKeyInSomeMarks(change: Change, dataKey: String) => Boolean
Whether there is a specific data key in some marks.
Supported methods:
whatMarkTypes(change: Change) => List<string>
What are the types that the marks have in the selection.
whatBlockTypes(change: Change) => List<string>
What are the types that the blocks have in the selection.
whatInlineTypes(change: Change) => List<string>
What are the types that the inline have in the selection.