Class

GoogleDocsNormalizer (paste-from-office/normalizers)

@ckeditor/ckeditor5-paste-from-office/src/normalizers/googledocsnormalizer

class

Normalizer for the content pasted from Google Docs.

Filtering

Properties

Methods

  • constructor( document )

    Creates a new GoogleDocsNormalizer instance.

    Parameters

    document : Document

    View document.

  • execute( data ) → void

    Executes the normalization of a given data.

    Parameters

    data : NormalizerData

    Returns

    void
  • isActive( htmlString ) → boolean

    Must return true if the htmlString contains content which this normalizer can transform.

    Parameters

    htmlString : string

    Returns

    boolean