mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-01-12 01:55:15 +08:00
fix: update MdEditor component to prevent potential XSS attacks (#11548)
Some checks failed
SonarCloud Scan / SonarCloud (push) Failing after 13m5s
Some checks failed
SonarCloud Scan / SonarCloud (push) Failing after 13m5s
This commit is contained in:
parent
8def011e63
commit
20b89a8fdd
1 changed files with 1 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ import 'md-editor-v3/lib/style.css';
|
|||
import DOMPurify from 'dompurify';
|
||||
import { GlobalStore } from '@/store';
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { computed } from 'vue';
|
||||
|
||||
const globalStore = GlobalStore();
|
||||
const { isDarkTheme } = storeToRefs(globalStore);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue