AddMarkStepAdd a mark to all inline content between two positions. class AddMarkStep extends Step {constructor(from: number,to: number,mark: Mark,);readonly from: number;readonly mark: Mark;readonly to: number; apply(doc: Node): StepResult;invert(): Step;map(mapping: Mappable): Step | null;merge(other: Step): Step | null;toJSON(): any;}§Extends§Step[src]§Constructors§new AddMarkStep(from: number, to: number, mark: Mark)[src]Create a mark step. §Properties§from: number[src]The start of the marked range. §mark: Mark[src]The mark to add. §to: number[src]The end of the marked range. §Methods§apply(doc: Node): StepResult[src]§invert(): Step[src]§map(mapping: Mappable): Step | null[src]§merge(other: Step): Step | null[src]§toJSON(): any[src]