Sign up (with export icon)

PasteFromOfficeMSWordNormalizer

Api-class iconclass

Normalizer for the content pasted from Microsoft Word.

Properties

Methods

  • Chevron-right icon

    constructor( document, hasMultiLevelListPlugin, hasTablePropertiesPlugin, enableSkipLevelLists )

    Creates a new PasteFromOfficeMSWordNormalizer instance.

    Parameters

    document: ViewDocument

    View document.

    hasMultiLevelListPlugin: boolean

    Defaults to false

    hasTablePropertiesPlugin: boolean

    Defaults to false

    enableSkipLevelLists: boolean

    Defaults to false

  • Chevron-right icon

    execute( data ) → void

    Executes the normalization of a given data.

    Parameters

    data: ClipboardInputTransformationData

    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