-
Notifications
You must be signed in to change notification settings - Fork 2
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
Capability to hide items in slash menu #1
Comments
谢谢建议,这个菜单是编辑器的内容块里面调用的,我暂时不知道如果也是用现阶段的DOM监听 + style改none的方式会对性能有多大的影响。因为理论上如果文本又长内容块又多的话,遍历的时间复杂度会变成指数函数。 |
你好,请问这个功能现在处于什么状态? |
我在想比监听器优雅的方案,因为这个功能的性能折扣暂时没办法接受。(我是完美主义者) |
了解,支持,感谢😀 |
可以考虑在 /** 编辑器 / 命令中的 AI Chat */
[data-value="%E2%80%8B5"]
{
display: none !important;
} |
感谢! |
菜单实在太满了,期待添加这个功能 |
@TCOTC 抱歉,可能要原作者同意我才能加上。 |
没问题。不过我在实际使用时发现一个问题,通过CSS隐藏后通过键盘
|
感谢!经过您的提醒我发现现阶段我的实现方法也存在上下键会依然选中条目的问题。我先去查一下怎么完全铲掉node,我不太会写。 |
查了一下可以用remove() method |
我有在使用一个插入当前时间的插件,这个插件会在 |
感谢!我去读一下ta的实现 |
近期这个功能是否有进展? |
您好,谢谢关注! |
请问怎么用纯css实现斜杆菜单隐藏并且不影响键盘上下键高亮,我用楼里的解决办法并且更新到最新版仍存在高亮问题。 |
其他菜单隐藏选项不会影响键盘上下键,但当时把斜杠菜单漏掉了所以才不行,我看看能不能改 siyuan-note/siyuan#14111 |
编辑器里按“/",会出现快捷功能菜单,能否隐藏这个菜单中的内容呢?我想把”AI Chat"去除掉。国内根本用不了Open AI。

The text was updated successfully, but these errors were encountered: