69 lines
2.4 KiB
TypeScript
69 lines
2.4 KiB
TypeScript
/**
|
|
* @license Copyright (c) 2014-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
*/
|
|
import { ClassicEditor } from "@ckeditor/ckeditor5-editor-classic";
|
|
import { Alignment } from "@ckeditor/ckeditor5-alignment";
|
|
import { Autoformat } from "@ckeditor/ckeditor5-autoformat";
|
|
import { Bold, Italic } from "@ckeditor/ckeditor5-basic-styles";
|
|
import { BlockQuote } from "@ckeditor/ckeditor5-block-quote";
|
|
import { CloudServices } from "@ckeditor/ckeditor5-cloud-services";
|
|
import { CodeBlock } from "@ckeditor/ckeditor5-code-block";
|
|
import type { EditorConfig } from "@ckeditor/ckeditor5-core";
|
|
import { Essentials } from "@ckeditor/ckeditor5-essentials";
|
|
import { FontSize } from "@ckeditor/ckeditor5-font";
|
|
import { Heading } from "@ckeditor/ckeditor5-heading";
|
|
import {
|
|
Image,
|
|
ImageCaption,
|
|
ImageInsert,
|
|
ImageStyle,
|
|
ImageToolbar,
|
|
ImageUpload,
|
|
} from "@ckeditor/ckeditor5-image";
|
|
import { Indent } from "@ckeditor/ckeditor5-indent";
|
|
import { Link } from "@ckeditor/ckeditor5-link";
|
|
import { List } from "@ckeditor/ckeditor5-list";
|
|
import { MediaEmbed } from "@ckeditor/ckeditor5-media-embed";
|
|
import { Paragraph } from "@ckeditor/ckeditor5-paragraph";
|
|
import { PasteFromOffice } from "@ckeditor/ckeditor5-paste-from-office";
|
|
import { SourceEditing } from "@ckeditor/ckeditor5-source-editing";
|
|
import { Table, TableToolbar } from "@ckeditor/ckeditor5-table";
|
|
import { TextTransformation } from "@ckeditor/ckeditor5-typing";
|
|
import { Undo } from "@ckeditor/ckeditor5-undo";
|
|
import { SimpleUploadAdapter } from "@ckeditor/ckeditor5-upload";
|
|
declare class Editor extends ClassicEditor {
|
|
static builtinPlugins: (
|
|
| typeof Alignment
|
|
| typeof Autoformat
|
|
| typeof BlockQuote
|
|
| typeof Bold
|
|
| typeof CloudServices
|
|
| typeof CodeBlock
|
|
| typeof Essentials
|
|
| typeof FontSize
|
|
| typeof Heading
|
|
| typeof Image
|
|
| typeof ImageCaption
|
|
| typeof ImageInsert
|
|
| typeof ImageStyle
|
|
| typeof ImageToolbar
|
|
| typeof ImageUpload
|
|
| typeof Indent
|
|
| typeof Italic
|
|
| typeof Link
|
|
| typeof List
|
|
| typeof MediaEmbed
|
|
| typeof Paragraph
|
|
| typeof PasteFromOffice
|
|
| typeof SimpleUploadAdapter
|
|
| typeof SourceEditing
|
|
| typeof Table
|
|
| typeof TableToolbar
|
|
| typeof TextTransformation
|
|
| typeof Undo
|
|
)[];
|
|
static defaultConfig: EditorConfig;
|
|
}
|
|
export default Editor;
|