CoreMedia CKEditor 5 Plugins
    Preparing search index...

    Function wrapIfTableElement

    • Wraps the given <table> element into a wrapper, which provides some convenience especially for <table> elements in non-HTML schema like CoreMedia Rich Text 1.0.

      In contrast to just instantiating HTMLTableElementWrapper, this method only creates a wrapper for applicable elements and returns undefined otherwise.

      Parameters

      • delegate: Node | Element | HTMLTableElement

        delegate to wrap

      Returns HTMLTableElementWrapper | undefined