-
Notifications
You must be signed in to change notification settings - Fork 292
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
✨ [Feature]: Markdown MD 编辑器支持自定义配置工具栏 #1862
Labels
feature
New feature
Comments
aolinpk
added a commit
to aolinpk/vue-devui
that referenced
this issue
Jun 3, 2024
GreatZPP
pushed a commit
that referenced
this issue
Jun 3, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What problem does this feature solve
在源码中发现了对应参数toolbarConfig和customToolbars,也做了对应尝试。发现代码编辑器组件中有处理
![image](https://private-user-images.githubusercontent.com/29527991/334357817-be9198af-578d-4d03-bc9b-d50b0676cbc6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU3Nzk2OTksIm5iZiI6MTcyNTc3OTM5OSwicGF0aCI6Ii8yOTUyNzk5MS8zMzQzNTc4MTctYmU5MTk4YWYtNTc4ZC00ZDAzLWJjOWItZDUwYjA2NzZjYmM2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA4VDA3MDk1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZiNDdhNWQ3NDAwZTM5N2QzOGZmMGI0MjBhMDg4M2I2ZDNiZmI4ZmRmYmQ3Y2QxNWVmNDVkMjgyZjE5ODVmOTQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Co1NWeX6VzJc11S4zkKUXUc1qTMgYvnqgoLtg4Tyjrk)
![image](https://private-user-images.githubusercontent.com/29527991/334358788-9bc911a9-96c5-4387-82ff-48fe443c1d3a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU3Nzk2OTksIm5iZiI6MTcyNTc3OTM5OSwicGF0aCI6Ii8yOTUyNzk5MS8zMzQzNTg3ODgtOWJjOTExYTktOTZjNS00Mzg3LTgyZmYtNDhmZTQ0M2MxZDNhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA4VDA3MDk1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTgyMDdhNWRlYTFhZTY4ODk4NTZiYmQ4OWUxOTljMzdkNDNmNGUyZDA0MGYwODYzMDdhNDM2N2VlM2NkMGM3MzUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.t7uftjARlXT4jVr4NaxXXZfiMRm3XI9DNlA_ybjDc0g)
但是子组件toolbar中没有处理。传入的toolbarConfig和自定义的customToolbars在toolbar中没有,而且也没有接收的合并后的值。
像是以前准备做这个功能但是没有做完。
What does the proposed API look like
可以按照原有设计使用以下参数:
toolbarConfig
customToolbars
The text was updated successfully, but these errors were encountered: