mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +02:00
chore(dx/server): remove dependency on CKEditor for now
This commit is contained in:
parent
aa316091e6
commit
4739e2e3b2
@ -21,7 +21,6 @@ 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;
|
||||||
|
|
||||||
@ -514,8 +513,6 @@ ${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,12 +23,6 @@ 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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user