mirror of
https://github.com/zadam/trilium.git
synced 2025-10-05 13:05:50 +08:00
fix(server): export not working due to content CSS
This commit is contained in:
parent
9cb56a4875
commit
a0fac8b6d9
1 changed files with 1 additions and 2 deletions
|
@ -21,6 +21,7 @@ import type AttributeMeta from "../meta/attribute_meta.js";
|
|||
import type BBranch from "../../becca/entities/bbranch.js";
|
||||
import type { Response } from "express";
|
||||
import type { NoteMetaFile } from "../meta/note_meta.js";
|
||||
import cssContent from "@triliumnext/ckeditor5/content.css";
|
||||
|
||||
type RewriteLinksFn = (content: string, noteMeta: NoteMeta) => string;
|
||||
|
||||
|
@ -511,8 +512,6 @@ ${markdownContent}`;
|
|||
return;
|
||||
}
|
||||
|
||||
const cssContent = fs.readFileSync(`${getResourceDir()}/public/libraries/ckeditor/ckeditor-content.css`);
|
||||
|
||||
archive.append(cssContent, { name: cssMeta.dataFileName });
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue