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

与Editor AutoLists插件冲突 #24

Open
xiakong24 opened this issue Jan 1, 2022 · 11 comments
Open

与Editor AutoLists插件冲突 #24

xiakong24 opened this issue Jan 1, 2022 · 11 comments

Comments

@xiakong24
Copy link

感谢提供很好用的插件!但遇见一点小bug:

安装Editor AutoLists插件后,会发生冲突,出现自动补全提示框时,回车并不会选中补全内容,而是直接换行,导致自动补全失败。

求问该如何解决冲突,多谢!

@Gk0Wk
Copy link
Owner

Gk0Wk commented Jan 2, 2022

感觉是autolist拦截了codemirror的事件。那么暂时可能需要用Tab或者鼠标点击来解决了。

我还是第一次了解到texteditoroperation这种模块,我有时间了解一下,看起来是对所有文本编辑器都有效的模块。

最近在搞echarts,等过年前后可以搞一搞cme,我的计划清单里是有把这种列表补全加入进来的。

感谢你的支持!

@xiakong24
Copy link
Author

OK,多谢回复!那想问问如何用’Tab‘来解决?是需要改哪个条目的设置吗?求指个路?多谢!!

@Gk0Wk
Copy link
Owner

Gk0Wk commented Jan 5, 2022

额就是出现补全之后按 Tab 键就可以补全了。我这边测试是可以的。

@xiakong24
Copy link
Author

我发现了Tab键也被autolist拦截了,可以自定义快捷键吗?比如shift+tab?这样可以临时用用

@linonetwo
Copy link
Collaborator

那也太别扭了,还是正常整合适配一下来得好

@linonetwo
Copy link
Collaborator

或者让 autolist 那边改改吧,他们的作者应该闲一点儿

@linonetwo
Copy link
Collaborator

让 autolist 的作者来开发 cme !(暴论

@Gk0Wk
Copy link
Owner

Gk0Wk commented Jan 20, 2022

wtf怎么都被挡了,那我没辙了XD

@xiakong24
Copy link
Author

哈哈哈哈,那没办法,只能禁用autolist了。

@dive2Pro
Copy link

暂时可以把auto-list换行的快捷键改成 shift-enter
image

@linonetwo
Copy link
Collaborator

linonetwo commented May 16, 2022

也可以用 https://github.com/tiddly-gittly/slate-write ,支持大纲换行了,不过目前不支持宏和微件的编辑,代码块也还没想好怎么嵌入 codemirror

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

4 participants