zbf

Results 51 comments of zbf

I tried to use this lib. Except that the border highlighting needs to be adapted by myself, we can use the existing API to focus textarea: https://imzbf.github.io/md-editor-rt/en-US/docs#%F0%9F%8E%AF%20focus

I fixed it in the beta version. ``` npm i md-editor-rt@beta ``` And you can also set a fixed `editorId` to circumvent this issue.

The latest version has been released

现在没有优化方案,这不是一个团队项目,作者一个人的时间只够做一些基础的功能。 所以目前建议先拆分你的文档

这个工具感觉在WYSIWYG的编辑器上体验会很完美。 这个组件里,我的第一直觉方案是使用弹窗,在弹窗中使用mathlive编写好数学公式,然后将latex插入到文本中。你觉得这种形式对你来说有帮助吗

作者无法保证多久能实现类似的功能,实现它提到的组件描述的功能,只需要定义一种新的语法来存储评论内容,类似超链接,下面是实现思路。 1. 参考文档的弹窗工具组件创建一个扩展 2. 了解markdown-it扩展语法(许多的AI帮到你),通过config注入扩展 3. 通过ref提供的getEditorView获取编辑器实例,以替换选中的文本(AI也可以帮到你)

html2pdf和html3pdf都处于更新停止状态,在没有找到合适的替代库前,这类问题得等待一下

尝试使用v4.0.0版本,使用`window.print`替换了`html2pdf`

Regarding video sharing links similar to YouTube, from a usability perspective, directly embedding code is more convenient than defining additional syntax. If a unified syntax is adopted, it would be...

Both `html2pdf` and `html3pdf` are at a standstill for updating, so this kind of problem will have to wait until a suitable replacement library is found!