CoreMedia CKEditor 5 Plugins
    Preparing search index...

    Rule based HTML DOM Converter.

    Implements

    Index

    Constructors

    Methods

    • Called as soon as a node got attached to the DOM.

      Note on context: The source node references the related representation of parentNode in the original document.

      Parameters

      • parentNode: Node

        parent node child got appended to

      • childNode: Node

        child node that got appended

      • context: ConversionContext

        current conversion context

      Returns void

    • Dumps the IDs of configured rules.

      Parameters

      • logger: Logger

        logger to write debug information to

      • indent: string = ""

        optional indent

      Returns void

    • Provides the possibility to handle a just imported node. The node is neither attached to DOM, nor children are available.

      Parameters

      • importedNode: Node

        the just imported node

      • context: ConversionContext

        current conversion context

      Returns Node | typeof skip

      the node to continue with in further processing or a signal what to do instead; if method is not defined or undefined is returned, processing continues with the original node.

    • Provides the opportunity to handle a just imported node, having its children processed. The node is not attached to the DOM yet, though.

      Parameters

      • importedNode: Node

        imported node, possibly with children

      • context: ConversionContext

        current conversion context

      Returns Node | typeof skip

      the node to attach to the DOM eventually; or a corresponding signal what to do instead; undefined or not implemented would continue processing with the importedNode

    • Prior to importing the original node, you may want to modify it. Note that allowed modification is limited, though.

      Parameters

      • originalNode: Node

        original (mutable!) node

      Returns void