mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	chore(ckeditor5/plugins): integrate italic as em & strikehtrough as del
This commit is contained in:
		| @@ -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 { | ||||
| 
 | ||||
		Reference in New Issue
	
	Block a user