Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor组件需要更新 #439

Open
zk0817 opened this issue Mar 19, 2024 · 1 comment
Open

Editor组件需要更新 #439

zk0817 opened this issue Mar 19, 2024 · 1 comment

Comments

@zk0817
Copy link

zk0817 commented Mar 19, 2024

image
截图来自wangEditor文档,Editor组件需要更新props,以满足使用wangEditor v5时,遇到自定义工具栏的需求

@zk0817
Copy link
Author

zk0817 commented Mar 19, 2024

以下是我对Editor组件的修改
`
import { IDomEditor } from '@wangeditor/editor'

// props
toolbarConfig: {
type: Object as PropType,
default: () => undefined
},

// 工具栏配置
const toolbarConfig = computed(() => {
return props.toolbarConfig || {}
})


`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant