mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 13:01:31 +08:00 
			
		
		
		
	fix(ckeditor): image upload not working
This commit is contained in:
		
							parent
							
								
									1d2c3fc7a7
								
							
						
					
					
						commit
						2f12d1a69f
					
				| @ -28,10 +28,10 @@ import "@triliumnext/ckeditor5-math/index.css"; | |||||||
|  * Plugins that are specific to Trilium and not part of the CKEditor 5 core, included in both text editors but not in the attribute editor. |  * Plugins that are specific to Trilium and not part of the CKEditor 5 core, included in both text editors but not in the attribute editor. | ||||||
|  */ |  */ | ||||||
| const TRILIUM_PLUGINS: typeof Plugin[] = [ | const TRILIUM_PLUGINS: typeof Plugin[] = [ | ||||||
|  |     UploadimagePlugin, | ||||||
|     CutToNotePlugin, |     CutToNotePlugin, | ||||||
|     ItalicAsEmPlugin, |     ItalicAsEmPlugin, | ||||||
| 	StrikethroughAsDel, | 	StrikethroughAsDel, | ||||||
|     UploadimagePlugin, |  | ||||||
|     InternalLinkPlugin, |     InternalLinkPlugin, | ||||||
|     RemoveFormatLinksPlugin, |     RemoveFormatLinksPlugin, | ||||||
|     IndentBlockShortcutPlugin, |     IndentBlockShortcutPlugin, | ||||||
| @ -72,8 +72,6 @@ export const CORE_PLUGINS: typeof Plugin[] = [ | |||||||
|  */ |  */ | ||||||
| export const COMMON_PLUGINS: typeof Plugin[] = [ | export const COMMON_PLUGINS: typeof Plugin[] = [ | ||||||
|     ...CORE_PLUGINS, |     ...CORE_PLUGINS, | ||||||
|     ...TRILIUM_PLUGINS, |  | ||||||
|     ...EXTERNAL_PLUGINS, |  | ||||||
| 
 | 
 | ||||||
| 	CKFinderUploadAdapter, | 	CKFinderUploadAdapter, | ||||||
| 	Autoformat, | 	Autoformat, | ||||||
| @ -127,7 +125,10 @@ export const COMMON_PLUGINS: typeof Plugin[] = [ | |||||||
| 	TextPartLanguage, | 	TextPartLanguage, | ||||||
|     Style, |     Style, | ||||||
|     Bookmark, |     Bookmark, | ||||||
|     Emoji |     Emoji, | ||||||
|  | 
 | ||||||
|  |     ...TRILIUM_PLUGINS, | ||||||
|  |     ...EXTERNAL_PLUGINS | ||||||
| ]; | ]; | ||||||
| 
 | 
 | ||||||
| /** | /** | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran