AddNodeMarkStepAdd a mark to a specific node. class AddNodeMarkStep extends Step {constructor(pos: number, mark: Mark);readonly mark: Mark;readonly pos: number; apply(doc: Node): StepResult;invert(doc: Node): Step;map(mapping: Mappable): Step | null;toJSON(): any;}§Extends§Step[src]§Constructors§new AddNodeMarkStep(pos: number, mark: Mark)[src]Create a node mark step. §Properties§mark: Mark[src]The mark to add. §pos: number[src]The position of the target node. §Methods§apply(doc: Node): StepResult[src]§invert(doc: Node): Step[src]§map(mapping: Mappable): Step | null[src]§toJSON(): any[src]