/*! * Jodit Editor (https://xdsoft.net/jodit/) * Released under MIT see LICENSE.txt in the project root for license information. * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net */ /** * @module helpers/utils */ import type { IJodit, Nullable } from "../../../types/index"; /** * The media in `elm` when `elm` is a wrapper media keep in the content (see * `mediaWrappers`): an element of a type `elm` is the wrapper for */ export declare function getWrappedMedia(jodit: IJodit, elm: Nullable): Nullable; /** * The wrapper media keep in the content (see `mediaWrappers`) that is or * holds `node` */ export declare function getMediaWrapper(jodit: IJodit, node: Nullable): Nullable; /** * An empty wrapper for media of type `tag` to keep in the content (see * `mediaWrappers`), or null when there is none for it */ export declare function createMediaWrapper(jodit: IJodit, tag: string): Nullable; /** * Puts `element` in the wrapper for its type (see `mediaWrappers`), and * returns the wrapper, or `element` when there is none for it */ export declare function wrapMedia(jodit: IJodit, element: HTMLElement): HTMLElement;