TextStoryReplacement typedef

TextStoryReplacement = ({TextStory after, TextStory before, String elementId})

One immutable expected/replacement pair for an atomic text edit.

Implementation

typedef TextStoryReplacement = ({
  String elementId,
  TextStory before,
  TextStory after,
});