mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
chore(ckeditor5/plugins): integrate italic as em & strikehtrough as del
This commit is contained in:
parent
5cb5d8e511
commit
daa1df5a24
@ -2,9 +2,13 @@ import { Autoformat, AutoLink, BlockQuote, Bold, CKFinderUploadAdapter, Clipboar
|
||||
import type { Plugin } from "ckeditor5";
|
||||
import CutToNotePlugin from "./plugins/cuttonote.js";
|
||||
import UploadimagePlugin from "./plugins/uploadimage.js";
|
||||
import ItalicAsEmPlugin from "./plugins/italic_as_em.js";
|
||||
import StrikethroughAsDel from "./plugins/strikethrough_as_del.js";
|
||||
|
||||
const TRILIUM_PLUGINS: typeof Plugin[] = [
|
||||
CutToNotePlugin,
|
||||
ItalicAsEmPlugin,
|
||||
StrikethroughAsDel,
|
||||
UploadimagePlugin
|
||||
];
|
||||
|
||||
@ -63,8 +67,6 @@ export const COMMON_PLUGINS: typeof Plugin[] = [
|
||||
FindAndReplace,
|
||||
Mention,
|
||||
// InternalLinkPlugin,
|
||||
// ItalicAsEmPlugin,
|
||||
// StrikethroughAsDel,
|
||||
// MarkdownImportPlugin,
|
||||
// MentionCustomization,
|
||||
// IncludeNote,
|
||||
|
@ -1,4 +1,4 @@
|
||||
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
|
||||
import { Plugin } from "ckeditor5";
|
||||
|
||||
export default class ItalicAsEmPlugin extends Plugin {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
|
||||
import { Plugin } from "ckeditor5";
|
||||
|
||||
export default class StrikethroughAsDel extends Plugin {
|
||||
|
Loading…
x
Reference in New Issue
Block a user