mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-30 19:19:03 +01:00 
			
		
		
		
	fix(server): export not working due to content CSS
This commit is contained in:
		
							parent
							
								
									9cb56a4875
								
							
						
					
					
						commit
						a0fac8b6d9
					
				| @ -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; | ||||||
| 
 | 
 | ||||||
| @ -511,8 +512,6 @@ ${markdownContent}`; | |||||||
|             return; |             return; | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         const cssContent = fs.readFileSync(`${getResourceDir()}/public/libraries/ckeditor/ckeditor-content.css`); |  | ||||||
| 
 |  | ||||||
|         archive.append(cssContent, { name: cssMeta.dataFileName }); |         archive.append(cssContent, { name: cssMeta.dataFileName }); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran