Replace a part of the document with a slice of content, but preserve a range of the replaced content by moving it into the slice.
Ports ReplaceAroundStep from prosemirror-transform/src/replace_step.ts.
Summary
Functions
Create a new ReplaceAroundStep.
Types
@type t() :: %ProsemirrorEx.Transform.ReplaceAroundStep{ from: non_neg_integer(), gap_from: non_neg_integer(), gap_to: non_neg_integer(), insert: non_neg_integer(), slice: ProsemirrorEx.Model.Slice.t(), structure: boolean(), to: non_neg_integer() }