Sign up (with export icon)

GoogleDocsNormalizer

Api-class icon class

Normalizer for the content pasted from Google Docs.

Properties

Methods

  • Chevron-right icon

    constructor( document )

    Creates a new GoogleDocsNormalizer instance.

    Parameters

    document : ViewDocument

    View document.

  • Chevron-right icon

    execute( data ) → void

    Executes the normalization of a given data.

    Parameters

    data : PasteFromOfficeNormalizerData

    Returns

    void
  • Chevron-right icon

    isActive( htmlString ) → boolean

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

    Parameters

    htmlString : string

    Returns

    boolean