Sign up (with export icon)

PasteFromOfficeMSWordNormalizer

Api-class icon class

Normalizer for the content pasted from Microsoft Word.

Properties

Methods

  • Chevron-right icon

    constructor( document, hasMultiLevelListPlugin )

    Creates a new PasteFromOfficeMSWordNormalizer instance.

    Parameters

    document : ViewDocument

    View document.

    hasMultiLevelListPlugin : boolean

    Defaults to false

  • 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