Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

RemoveNodeMarkStep

Remove a mark from a specific node.

class RemoveNodeMarkStep 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

§Constructors

§
new RemoveNodeMarkStep(pos: number, mark: Mark)
[src]

Create a mark-removing step.

§Properties

§
mark: Mark
[src]

The mark to remove.

§
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]