Closed linonetwo closed 1 day ago
在监听了回车和tab 的地方,例如大纲里 https://tiddly-gittly.github.io/streams-outliner-lib/ ,tab 没有被拦截
if(!event.defaultPrevented) {
可以看到已经 preventDefault https://github.com/tiddly-gittly/streams-outliner-lib/blob/main/src/streams-outliner-lib/widgets/keyboard-plus.js#L49
No response
不对,这里是大纲先拿到,然后设置了 event.preventDefault。不设置就好了
Describe the bug
在监听了回车和tab 的地方,例如大纲里 https://tiddly-gittly.github.io/streams-outliner-lib/ ,tab 没有被拦截
Expected behavior
可以看到已经 preventDefault https://github.com/tiddly-gittly/streams-outliner-lib/blob/main/src/streams-outliner-lib/widgets/keyboard-plus.js#L49
To Reproduce
Screenshots
No response
Configuration
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
No response