jodit
Version:
Jodit is an awesome and useful wysiwyg editor with filebrowser
11 lines (10 loc) • 569 B
TypeScript
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
/**
* @module plugins/source
*/
import type { CallbackFunction, IJodit, ISourceEditor } from "../../../types/index";
export declare function createSourceEditor(type: 'ace' | 'mirror' | 'area' | ((jodit: IJodit) => ISourceEditor), editor: IJodit, container: HTMLElement, toWYSIWYG: CallbackFunction, fromWYSIWYG: CallbackFunction): ISourceEditor;