/*! * Jodit Editor (https://xdsoft.net/jodit/) * Released under MIT see LICENSE.txt in the project root for license information. * Copyright (c) 2013-2021 Valeriy Chupurnov. All rights reserved. https://xdsoft.net */ import './about.less'; import type { IControlType, IJodit } from '../../types'; import { Config } from '../../config'; import { css, isLicense, normalizeLicense } from '../../core/helpers/'; import * as constants from '../../core/constants'; import { Dialog } from '../../modules/dialog'; Config.prototype.controls.about = { exec: (editor: IJodit) => { const dialog = new Dialog({ language: editor.o.language }), i18n = editor.i18n.bind(editor); dialog.setMod('theme', editor.o.theme); dialog.setHeader(i18n('About Jodit')); dialog.setContent( `