-
Notifications
You must be signed in to change notification settings - Fork 174
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
代码块工具插槽 #771
Comments
这里做不了插槽,仅能通过语言设置改变文字 |
能否和代码块折叠一样,新增一个属性传入一个数组,里面是配置项(展示的文字、点击回调(传参是代码块的代码和语言类型))。md-editor-v3用来渲染流式输出时,如果涉及到流程图整个界面就会抽搐,所以打算默认不渲染流程图,点击后在侧边栏渲染。 |
我尝试了一下,可以在后面预留位置供开发时嵌入额外的功能点,大概的情况是这样
|
好的,感谢大佬😄期待该功能点 |
onRemount事件什么时候会触发呢,照着参考例子,config里加了extraTools,但界面没有显示出来, |
你在编辑器添加 |
注意名称是 |
先通过 |
我不清楚你上面的v-if是不是正确,重新安装最新版本,然后使用 |
一个很棒的想法
这一块能支持插槽吗,允许自己定义一些工具,参数传入值是代码块的代码
The text was updated successfully, but these errors were encountered: