jodit
Version:
Jodit is an awesome and useful wysiwyg editor with filebrowser
15 lines (14 loc) • 691 B
TypeScript
/*!
* 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
*/
import type { IDictionary } from "../../../../types/index";
/**
* Checks that every attribute from `attrs` is present on the element with
* the same value (one-directional match: extra own attributes of the element
* are ignored, empty `attrs` matches any element)
* @private
*/
export declare function isSameAttributes(elm: HTMLElement, attrs?: IDictionary): boolean;
export declare function elementsEqualAttributes(elm1: HTMLElement, elm2: HTMLElement): boolean;