prosemirror-typerighter icon indicating copy to clipboard operation
prosemirror-typerighter copied to clipboard

The difference between ignoredMarks and skippedMarks isn't clear

Open jonathonherbert opened this issue 3 years ago • 0 comments

The difference between ignoredMarks and skippedMarks, callbacks provided in the public API, isn't clear:

  • ignoredMarks is a function that, given a node, returns ranges that invalidate suggestions returned from typerighter.
  • skippedMarks is a function that, given a node, returns ranges that are never sent to Typerighter (the text is never visible to the checker.)

What might be a better name for these functions?

jonathonherbert avatar Feb 28 '22 14:02 jonathonherbert