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

RemoveMarkStep

Remove a mark from all inline content between two positions.

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

§Constructors

§
new RemoveMarkStep(from: number, to: number, mark: Mark)
[src]

Create a mark-removing step.

§Properties

§
from: number
[src]

The start of the unmarked range.

§
mark: Mark
[src]

The mark to remove.

§
to: number
[src]

The end of the unmarked 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]