Replace a part of the document with a slice of new content.
Ports ReplaceStep from prosemirror-transform/src/replace_step.ts.
Summary
Functions
Create a new ReplaceStep.
Types
@type t() :: %ProsemirrorEx.Transform.ReplaceStep{ from: non_neg_integer(), slice: ProsemirrorEx.Model.Slice.t(), structure: boolean(), to: non_neg_integer() }