CoreMedia CKEditor 5 Plugins
    Preparing search index...

    Function registerNamespacePrefixes

    • Registers namespace prefixes of document (recursively) or element (non-recursive) to given target element. If target element is unset it falls back to the documentElement (of ownerDocument, if element is given).

      Parameters

      • documentOrElement: Element | Document

        the document to analyze recursively or the element to analyze non-recursively.

      • OptionaltargetElement: Element

        the element, that shall receive the prefixed namespace declarations; defaults applied according to description.

      Returns void