jodit
Version:
Jodit is an awesome and useful wysiwyg editor with filebrowser
16 lines (15 loc) • 644 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
*/
/**
* Whether an `<iframe>` `src` points at a recognized YouTube/Vimeo video
* player. Such iframes are inserted intentionally through the Video button, so
* clean-html must not strip them (`denyTags` includes `iframe` by default) or
* neutralize them with an empty `sandbox=""` (#1381). Arbitrary/bare iframes
* are still removed.
*
* @private
*/
export declare function isAllowedMediaEmbed(src: string): boolean;