ProsemirrorEx.Transform.RemoveMarkStep (prosemirror_ex v0.3.0)

Copy Markdown View Source

Remove a mark from all inline content between two positions.

Ports RemoveMarkStep from prosemirror-transform/src/mark_step.ts.

Summary

Functions

Create a new RemoveMarkStep.

Types

t()

@type t() :: %ProsemirrorEx.Transform.RemoveMarkStep{
  from: non_neg_integer(),
  mark: ProsemirrorEx.Model.Mark.t(),
  to: non_neg_integer()
}

Functions

new(from, to, mark)

Create a new RemoveMarkStep.