# Xss Extension
import VMdEditor from '@kangc/v-md-editor';
VMdEditor.xss.extend({
// 扩展白名单
whiteList: {
source: [],
},
});
配置项参考 xss (opens new window)
import VMdEditor from '@kangc/v-md-editor';
VMdEditor.xss.extend({
// 扩展白名单
whiteList: {
source: [],
},
});
配置项参考 xss (opens new window)