Options
All
  • Public
  • Public/Protected
  • All
Menu

A wrapper of MutationObserver to observe text change from editor

Hierarchy

  • TextMutationObserver

Index

Methods

flushMutations

  • flushMutations(ignoreMutations?: boolean): void
  • Flush all pending mutations and update cached model if need

    Parameters

    • Optional ignoreMutations: boolean

      When pass true, all mutations will be ignored and do not update content model. This should only be used when we already have a up-to-date content model and will set it as latest cache

    Returns void

startObserving

  • startObserving(): void

stopObserving

  • stopObserving(): void

Generated using TypeDoc