fix: render markdown in CSAT survey messages (#14468)
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
import { createApp } from 'vue';
|
||||
import { createI18n } from 'vue-i18n';
|
||||
import VueDOMPurifyHTML from 'vue-dompurify-html';
|
||||
import store from '../survey/store';
|
||||
import i18nMessages from '../survey/i18n';
|
||||
import App from '../survey/App.vue';
|
||||
import { domPurifyConfig } from '../shared/helpers/HTMLSanitizer';
|
||||
|
||||
const app = createApp(App);
|
||||
const i18n = createI18n({
|
||||
@@ -12,6 +14,7 @@ const i18n = createI18n({
|
||||
|
||||
app.use(i18n);
|
||||
app.use(store);
|
||||
app.use(VueDOMPurifyHTML, domPurifyConfig);
|
||||
|
||||
window.onload = () => {
|
||||
window.WOOT_SURVEY = app.mount('#app');
|
||||
|
||||
Reference in New Issue
Block a user