From 7a784f107475a97ed2879af2497930e47f45c002 Mon Sep 17 00:00:00 2001 From: undefined Date: Mon, 30 May 2022 16:12:07 +0800 Subject: [PATCH] ui: vditor: change cdn --- packages/ui-default/components/editor/index.ts | 4 ++++ packages/ui-default/package.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/ui-default/components/editor/index.ts b/packages/ui-default/components/editor/index.ts index a59ebc34..dcd8d65a 100644 --- a/packages/ui-default/components/editor/index.ts +++ b/packages/ui-default/components/editor/index.ts @@ -25,6 +25,10 @@ export const config = { math: { inlineDigit: true, }, + theme: { + // eslint-disable-next-line no-template-curly-in-string + path: `${UiContext.cdn_prefix}vditor/dist/css/content-theme`, + }, }, }; diff --git a/packages/ui-default/package.json b/packages/ui-default/package.json index 1cdb93a7..04200b30 100644 --- a/packages/ui-default/package.json +++ b/packages/ui-default/package.json @@ -1,6 +1,6 @@ { "name": "@hydrooj/ui-default", - "version": "4.37.14", + "version": "4.37.15", "author": "undefined ", "license": "AGPL-3.0", "main": "hydro.js",