CoreMedia CKEditor 5 Plugins
    Preparing search index...

    Function copyAttributesFrom

    • Copies attributes from source element to target element.

      Post-Conditions:

      • Source element is not modified.
      • Target element has at least the same attributes as the source element. Already existing attributes of same name are overwritten.

      Parameters

      • source: Element

        source element to transfer attributes from

      • target: Element

        target element to transfer attributes to

      Returns void