fix: wangEditor
This commit is contained in:
@ -20,7 +20,7 @@ const currentLocale = computed(() => localeStore.getCurrentLocale)
|
|||||||
i18nChangeLanguage(unref(currentLocale).lang)
|
i18nChangeLanguage(unref(currentLocale).lang)
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
editorId: propTypes.string.def('wangeEditor-1'),
|
editorId: propTypes.string.def('wangEditor-1'),
|
||||||
height: propTypes.oneOfType([Number, String]).def('500px'),
|
height: propTypes.oneOfType([Number, String]).def('500px'),
|
||||||
editorConfig: {
|
editorConfig: {
|
||||||
type: Object as PropType<Partial<IEditorConfig>>,
|
type: Object as PropType<Partial<IEditorConfig>>,
|
||||||
|
|||||||
@ -43,7 +43,7 @@ const handleConfirm = () => {
|
|||||||
|
|
||||||
// Editor 相关
|
// Editor 相关
|
||||||
const editorRef = shallowRef<IDomEditor>()
|
const editorRef = shallowRef<IDomEditor>()
|
||||||
const editorId = ref('wangeEditor-1')
|
const editorId = ref('wangEditor-1')
|
||||||
const toolbarConfig = {
|
const toolbarConfig = {
|
||||||
excludeKeys: ['group-video'],
|
excludeKeys: ['group-video'],
|
||||||
insertKeys: {
|
insertKeys: {
|
||||||
|
|||||||
Reference in New Issue
Block a user