CoreMedia CKEditor 5 Plugins
    Preparing search index...

    Module ckeditor5-dom-support

    Provides utilities for dealing with DOM manipulation.

    DOM Support

    API Documentation

    Module: @coremedia/ckeditor5-dom-support

    This module, independent of CoreMedia and CKEditor, provides utilities for dealing with DOM manipulation.

    As long as support is related to DOM objects, the corresponding files should be named as plural in relation to the corresponding DOM object. Such as utilities for DOM Element is located in file Elements.ts.

    Classes

    HTMLElementWrapper
    HTMLTableElementWrapper
    RgbColor

    Interfaces

    ElementDefinition
    FontWeightInformation

    Type Aliases

    ElementDefinitionType
    HasChildren
    HasNamespaceUri

    Variables

    defaultDataAttributeClassNamePrefix
    defaultDataAttributeElementName
    fontWeightToNumber
    numberToFontWeight
    w3ExtendedColorNames
    xmlnsNamespaceUri

    Functions

    appendNodeContents
    compileElementDefinition
    copyAttributesFrom
    createElement
    describeAttr
    documentFromHtml
    documentFromXml
    extractNodeContents
    fragmentFromNodeContents
    fragmentToString
    getColor
    getFontWeight
    getFontWeightNumeric
    isAttr
    isCharacterData
    isComment
    isDocument
    isDocumentFragment
    isElement
    isHasNamespaceUri
    isHTMLAnchorElement
    isHTMLElement
    isHTMLTableElement
    isParentNode
    isText
    lookupDocumentDefaultNamespaceURI
    lookupNamespaceURI
    prependNodeContents
    querySelectorAllDirectChildren
    querySelectorDirectChild
    registerNamespacePrefixes
    removeClass
    renameElement
    rgb
    serializeToXmlString
    wrapIfHTMLElement
    wrapIfTableElement