/*! * 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 plugins/format-block */ import type { IJodit } from "../../types/index"; /** * In iframe mode the content's web fonts load only in the iframe, but the * Paragraph list is in the page, so its previews would fall back to the * page's fonts. This adds the content's web fonts to the page under names * only this editor uses, so nothing else on the page can pick them up, and * puts those names first in a preview's `font-family` */ export declare function withContentFonts(editor: IJodit, fontFamily: string): string;