mirror of
https://github.com/zadam/trilium.git
synced 2025-11-17 14:19:14 +08:00
Revert "chore(dx/server): remove dependency on CKEditor for now"
This reverts commit 4739e2e3b2.
This commit is contained in:
parent
6163ab8c42
commit
53df7835d3
2 changed files with 9 additions and 0 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;
|
||||
|
||||
|
|
@ -513,6 +514,8 @@ ${markdownContent}`;
|
|||
if (!cssMeta.dataFileName) {
|
||||
return;
|
||||
}
|
||||
|
||||
archive.append(cssContent, { name: cssMeta.dataFileName });
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
declare module "@triliumnext/ckeditor5/content.css" {
|
||||
const content: string;
|
||||
export default content;
|
||||
}
|
||||
|
||||
|
||||
declare module "@triliumnext/share-theme/*.ejs" {
|
||||
const content: string;
|
||||
export default content;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue