Class

MSWordNormalizer (paste-from-office/normalizers)

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

class

Normalizer for the content pasted from Microsoft Word.

Filtering

Properties

Methods

  • constructor( document, hasMultiLevelListPlugin )

    Creates a new MSWordNormalizer instance.

    Parameters

    document : Document

    View document.

    hasMultiLevelListPlugin : boolean

    Defaults to false

  • 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