This class is responsible for the toData processing.

Constructors

Methods

  • Internal toData transformation, especially meant for testing purpose.

    Parameters

    • fromView: Node | DocumentFragment

      the fragment created from view

    • Optional targetDocument: Document

      the target document, which will get the elements added and will be transformed according to the rules

    Returns Document

    the transformed CoreMedia RichText XML