diff --git a/dashboard-prime/src/common-components/utilities/markdown/MarkdownEditor.vue b/dashboard-prime/src/common-components/utilities/markdown/MarkdownEditor.vue index 01c72995fb..639b48daad 100644 --- a/dashboard-prime/src/common-components/utilities/markdown/MarkdownEditor.vue +++ b/dashboard-prime/src/common-components/utilities/markdown/MarkdownEditor.vue @@ -26,6 +26,7 @@ import { useSkillsAnnouncer } from '@/common-components/utilities/UseSkillsAnnou import { useByteFormat } from '@/common-components/filter/UseByteFormat.js' import { useAppConfig } from '@/common-components/stores/UseAppConfig.js' import FileUploadService from '@/common-components/utilities/FileUploadService.js' +import { useThemesHelper } from '@/components/header/UseThemesHelper.js' const appConfig = useAppConfig() @@ -84,6 +85,7 @@ const props = defineProps({ default: false }, }) +const themeHelper = useThemesHelper() // build editor options const toolbarItems = [ @@ -274,9 +276,11 @@ watch(value, (newValue) =>{ :class="`${labelClass}`" :for="name" @click="focusOnMarkdownEditor">{{ label }} + { @keydown="onKeydown" @focus="handleFocus" @load="onLoad" /> -