cherry-markdown icon indicating copy to clipboard operation
cherry-markdown copied to clipboard

[Others] 近期升级到了0.8.29,发现原本有的代码复制功能不见了,能否重新恢复该功能

Open mikufufucom opened this issue 1 year ago • 3 comments

下图是现在的0.8.29后的预览 image 这里是之前的 image image 在配置里面确实配置了 image

mikufufucom avatar Nov 24 '23 17:11 mikufufucom

https://tencent.github.io/cherry-markdown/examples/index.html 请问可以在这里重现么?

sunsonliu avatar Nov 25 '23 12:11 sunsonliu

https://tencent.github.io/cherry-markdown/examples/index.html 请问可以在这里重现么?

image 没有复现成功,请问可以您的看一下配置吗,还有引用的版本嘛,我记得0.8.25版那会儿我这里也是能复制的,现在在我自己的网站尝试了几遍都失败了,我直接迁移您的版本试试。 下面是我编辑页面的源码部分 https://gitee.com/moxiaoli1010/blog/blob/master/blog-ui/src/components/CherryMarkdown.vue

mikufufucom avatar Nov 25 '23 14:11 mikufufucom

抱歉,把你的配置拉到本地后测试,也没有重现出来。。可能需要你关注下复制按钮的click事件有没有被拦截之类的。。

sunsonliu avatar Nov 27 '23 02:11 sunsonliu