umodoc / editor

Umo Editor is an open-source document editor, based on Vue3 and Tiptap. Umo Editor 是一个基于 Vue3 和 Tiptap 的适合于国人使用的本土化开源文档编辑器。
https://editor.umodoc.com/en/docs
MIT License
171 stars 30 forks source link

[Bug]: 公式复制存在字体内容时无法显示 #37

Closed GhostyCHEN closed 1 month ago

GhostyCHEN commented 1 month ago

这个问题是否已经存在?

如何复现

1.选择字体(例comic sans MS),输入aaaxx$x$xx 2.复制内容aaa$$中间

预期结果

公式正常显示

实际结果

公式无法正常显示,且存在字体,如下图展示

截图或视频

image

其他说明

No response

版本

3.0.0

浏览器及浏览器版本

版本 126.0.6478.183(正式版本) (arm64)

umodoc commented 1 month ago

公式用的是tiptap的公式插件: https://tiptap.dev/docs/editor/extensions/functionality/mathematics ,你可以去titptap提issue, https://github.com/ueberdosis/tiptap