CoreMedia CKEditor 5 Plugins
    Preparing search index...
    • Conversion function used in DowncastDispatcher event listeners. Adds a UIElement to the editing view at a given marker position. The marker position is retrieved from the data object provided by the event listener.

      The added UIElement renders a loading spinner into the editing view without changing the model.

      Parameters

      • pendingMarkerNames: string[]

        all markers that are not yet finally inserted.

      • callback: (markerData: MarkerData) => void

        the callback to be executed after the UIElement has been added (Usually to load the data for the loading spinner). Get the markerData of the corresponding marker as the sole argument.

      Returns (
          evt: EventInfo,
          data: AddMarkerEventData,
          conversionApi: DowncastConversionApi,
      ) => void