mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 15:25:51 +01:00
chore(ckeditor5): integrate basic plugins
This commit is contained in:
82
packages/ckeditor5/src/plugins.ts
Normal file
82
packages/ckeditor5/src/plugins.ts
Normal file
@@ -0,0 +1,82 @@
|
||||
import { Autoformat, AutoLink, BlockQuote, Bold, CKFinderUploadAdapter, Clipboard, Code, CodeBlock, Enter, FindAndReplace, Font, FontBackgroundColor, FontColor, GeneralHtmlSupport, Heading, HeadingButtonsUI, HorizontalLine, Image, ImageCaption, ImageInline, ImageResize, ImageStyle, ImageToolbar, ImageUpload, Indent, IndentBlock, Italic, Link, List, ListProperties, Mention, PageBreak, Paragraph, ParagraphButtonUI, PasteFromOffice, PictureEditing, RemoveFormat, SelectAll, ShiftEnter, SpecialCharacters, SpecialCharactersEssentials, Strikethrough, Style, Subscript, Superscript, Table, TableCaption, TableCellProperties, TableColumnResize, TableProperties, TableSelection, TableToolbar, TextPartLanguage, TextTransformation, TodoList, Typing, Underline, Undo } from "ckeditor5";
|
||||
|
||||
export const COMMON_PLUGINS = [
|
||||
// essentials package expanded to allow selectively disable Enter and ShiftEnter
|
||||
Clipboard, Enter, SelectAll, ShiftEnter, Typing, Undo,
|
||||
CKFinderUploadAdapter,
|
||||
Autoformat,
|
||||
Bold,
|
||||
Italic,
|
||||
Underline,
|
||||
Strikethrough,
|
||||
Code,
|
||||
Superscript,
|
||||
Subscript,
|
||||
BlockQuote,
|
||||
Heading,
|
||||
Image,
|
||||
ImageCaption,
|
||||
ImageStyle,
|
||||
ImageToolbar,
|
||||
ImageUpload,
|
||||
ImageResize,
|
||||
ImageInline,
|
||||
Link,
|
||||
AutoLink,
|
||||
List,
|
||||
ListProperties,
|
||||
TodoList,
|
||||
Paragraph,
|
||||
PasteFromOffice,
|
||||
PictureEditing,
|
||||
Table,
|
||||
TableToolbar,
|
||||
TableProperties,
|
||||
TableCellProperties,
|
||||
TableSelection,
|
||||
TableCaption,
|
||||
TableColumnResize,
|
||||
Indent,
|
||||
IndentBlock,
|
||||
ParagraphButtonUI,
|
||||
HeadingButtonsUI,
|
||||
//Uploadfileplugin,
|
||||
//UploadimagePlugin,
|
||||
TextTransformation,
|
||||
Font,
|
||||
FontColor,
|
||||
FontBackgroundColor,
|
||||
CodeBlock,
|
||||
SelectAll,
|
||||
HorizontalLine,
|
||||
RemoveFormat,
|
||||
SpecialCharacters,
|
||||
SpecialCharactersEssentials,
|
||||
// SpecialCharactersEmoji,
|
||||
FindAndReplace,
|
||||
Mention,
|
||||
// InternalLinkPlugin,
|
||||
// ItalicAsEmPlugin,
|
||||
// StrikethroughAsDel,
|
||||
// MarkdownImportPlugin,
|
||||
// CuttonotePlugin,
|
||||
// MentionCustomization,
|
||||
// IncludeNote,
|
||||
// ReferenceLink,
|
||||
// indentBlockShortcutPlugin,
|
||||
// removeFormatLinksPlugin,
|
||||
PageBreak,
|
||||
GeneralHtmlSupport,
|
||||
TextPartLanguage,
|
||||
Style,
|
||||
|
||||
// External plugins
|
||||
// Math,
|
||||
// AutoformatMath,
|
||||
// Footnotes,
|
||||
// Mermaid,
|
||||
// Kbd,
|
||||
// Admonition
|
||||
];
|
||||
|
||||
export const COMMON_SETTINGS = { };
|
||||
Reference in New Issue
Block a user