Skip to content

Commit 20b89a8

Browse files
fix: update MdEditor component to prevent potential XSS attacks (#11548)
1 parent 8def011 commit 20b89a8

File tree

1 file changed

+1
-0
lines changed
  • frontend/src/components/mkdown-editor

1 file changed

+1
-0
lines changed

frontend/src/components/mkdown-editor/index.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import 'md-editor-v3/lib/style.css';
88
import DOMPurify from 'dompurify';
99
import { GlobalStore } from '@/store';
1010
import { storeToRefs } from 'pinia';
11+
import { computed } from 'vue';
1112
1213
const globalStore = GlobalStore();
1314
const { isDarkTheme } = storeToRefs(globalStore);

0 commit comments

Comments
 (0)