Schema
Class defined in model/data/Schema.js#10

Schema for Data Objects.

Add nodes to the schema.

Parameters
nodesArray

Array of Node classes

Get the node class for a type name.

Parameters
nameString
Returns
Class

Provide all built-in node classes.

Returns
Node[]

An array of Node classes.

Checks if a given type is of given parent type.

Parameters
typeString
parentTypeString
Returns
Boolean

true if type is and instance of parentType.

Iterate over all registered node classes.

See util/Registry#each

Parameters
callbackFunction
contextObject
Returns
Node[]

list of types that should appear in a TOC

Returns
String

the name of the default textish node (e.g. 'paragraph')