From c3e377ca3c80aa22a9fbf1fd6996c3570ade92be Mon Sep 17 00:00:00 2001 From: Tim <135014430+nagisa77@users.noreply.github.com> Date: Sun, 3 Aug 2025 17:33:48 +0800 Subject: [PATCH] chore: add helper to clear vditor cache --- frontend/src/components/CommentEditor.vue | 7 ++++++- frontend/src/components/PostEditor.vue | 7 ++++++- frontend/src/main.js | 2 ++ frontend/src/utils/clearVditorStorage.js | 7 +++++++ 4 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 frontend/src/utils/clearVditorStorage.js diff --git a/frontend/src/components/CommentEditor.vue b/frontend/src/components/CommentEditor.vue index 46ab085f7..db42bf4ee 100644 --- a/frontend/src/components/CommentEditor.vue +++ b/frontend/src/components/CommentEditor.vue @@ -18,7 +18,7 @@