Skip to content
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

SV模式公式的BUG是不是这里引起的? #1355

Closed
mqingqing123 opened this issue Feb 11, 2023 · 1 comment
Closed

SV模式公式的BUG是不是这里引起的? #1355

mqingqing123 opened this issue Feb 11, 2023 · 1 comment

Comments

@mqingqing123
Copy link

vditor:3.9版本
sv模式: 分屏编辑预览模式
bug出现情况:在录入数学公式时,在$$后回车,就一直生成$$
基本上,其它问题没发现,所以,也不建议把SV重新为textarea模式。

image

但是输入code则没这个bug,从界面上看,math公式和code非常类似
image

昨天我查看了一下 src/ts/sv/inputEvent.ts 源代码
比较了code和math模式,发现2个代码段不一样。
那么数学出现的bug,是不是这段代码造成的?

把code那一段,把单词“code”替换为“ math” ,然后用新代码段 是不是就可以了?

因为,不懂怎么编译打包JS,所以,这里给出一些建议。

image

@Vanessa219
Copy link
Owner

#1319

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants