mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	Revert "chore(dx/server): remove dependency on CKEditor for now"
This reverts commit 4739e2e3b2.
			
			
This commit is contained in:
		| @@ -21,6 +21,7 @@ import type AttributeMeta from "../meta/attribute_meta.js"; | |||||||
| import type BBranch from "../../becca/entities/bbranch.js"; | import type BBranch from "../../becca/entities/bbranch.js"; | ||||||
| import type { Response } from "express"; | import type { Response } from "express"; | ||||||
| import type { NoteMetaFile } from "../meta/note_meta.js"; | import type { NoteMetaFile } from "../meta/note_meta.js"; | ||||||
|  | import cssContent from "@triliumnext/ckeditor5/content.css"; | ||||||
|  |  | ||||||
| type RewriteLinksFn = (content: string, noteMeta: NoteMeta) => string; | type RewriteLinksFn = (content: string, noteMeta: NoteMeta) => string; | ||||||
|  |  | ||||||
| @@ -513,6 +514,8 @@ ${markdownContent}`; | |||||||
|         if (!cssMeta.dataFileName) { |         if (!cssMeta.dataFileName) { | ||||||
|             return; |             return; | ||||||
|         } |         } | ||||||
|  |  | ||||||
|  |         archive.append(cssContent, { name: cssMeta.dataFileName }); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     try { |     try { | ||||||
|   | |||||||
							
								
								
									
										6
									
								
								apps/server/src/types.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								apps/server/src/types.d.ts
									
									
									
									
										vendored
									
									
								
							| @@ -23,6 +23,12 @@ declare module "is-animated" { | |||||||
|     export default isAnimated; |     export default isAnimated; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | declare module "@triliumnext/ckeditor5/content.css" { | ||||||
|  |     const content: string; | ||||||
|  |     export default content; | ||||||
|  | } | ||||||
|  |  | ||||||
|  |  | ||||||
| declare module "@triliumnext/share-theme/*.ejs" { | declare module "@triliumnext/share-theme/*.ejs" { | ||||||
|     const content: string; |     const content: string; | ||||||
|     export default content; |     export default content; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user