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

挖空的地方,点击时候会有黄色边框 #10

Open
512-dhl opened this issue Oct 20, 2024 · 6 comments
Open

挖空的地方,点击时候会有黄色边框 #10

512-dhl opened this issue Oct 20, 2024 · 6 comments
Labels
bug Something isn't working documentation Improvements or additions to documentation good first issue Good for newcomers

Comments

@512-dhl
Copy link

512-dhl commented Oct 20, 2024

挖空的地方,点击时候会有黄色边框显示一下,不过我看css里面填空样式那里也没border啊

@ruin1990
Copy link
Owner

您好啊,能否提供一下截图/视频/动图,OS平台,客户端版本号,对应的Demo。另外这个应该是客户端的问题,我在手机上遇到过,用我的悬浮按钮或者快捷键(Tab)应该不会。PC板上没有。你填空里如果有Latex/Mathjax也有这个现象

@512-dhl
Copy link
Author

512-dhl commented Oct 21, 2024 via email

@ruin1990
Copy link
Owner

ruin1990 commented Oct 23, 2024

没有啊,我用ankiweb、ankidroid和anki(windows)最新版测试了一下没有你说的这个问题。是哪个平台上遇到的?你这里所说的加outline是怎么加的,能否发来参考下?

倒是以前2.15.6的ankidroid上我有遇到过,好像是latex块自带的

@512-dhl
Copy link
Author

512-dhl commented Oct 24, 2024 via email

@ruin1990
Copy link
Owner

ruin1990 commented Oct 29, 2024

你得提供下你的apkg,我有找朋友测试过ios上应该是悬浮按钮不能置底,但是空应该都可以点的,如果是判断逻辑的漏洞我应该能修复下。
不过你先检查下是不是下面这个多行挖空问题引起的:
我最近发现我的模版有个缺点,挖空的内容里不能换行,如果换行了那就要把换行符都去掉(HTML源码编辑),这个是一样的问题。
参考下mathjax-bugs
比如,下面这个就不行🙅 :

{{c1::123<br>
456}}

去掉换行符就可以👌 ,在原来Cloze模版内显示效果应该是一致的

{{c1::123<br>456<br>789}}

这个问题有点难解决,因为多行的正则匹配太消耗性能了
如果觉得手动去除换行有点麻烦,我建议用TinyMCE插件,发现能自动去掉多余字符,很搭此模版

@ruin1990 ruin1990 added bug Something isn't working documentation Improvements or additions to documentation good first issue Good for newcomers labels Oct 29, 2024
@512-dhl
Copy link
Author

512-dhl commented Dec 5, 2024

谢谢大佬

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants