generated from halo-dev/plugin-starter
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
编辑页面输入 # 号并输入检索内容后,选中的标签无法生效 #76
Labels
kind/bug
Categorizes issue or PR as related to a bug.
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述
在编辑页面输入 # 号并输入检索内容,检索到两条以上数据时。
选中非首条数据,按下回车键。
标签会将当前输入的检索内容变为标签,而不是选中的内容。
此问题应该与 https://github.com/ueberdosis/tiptap/blob/1c5c087641162dc9d82814aaa84fcdc267469545/packages/core/src/InputRule.ts#L233C7-L233C20 有关。
当按下回车时,检索的内容符合输入规则,因此
tiptap
会将其转换为Tag
,并且不会再继续执行其他的handleKeyDown
事件了。/kind bug
The text was updated successfully, but these errors were encountered: