-
Notifications
You must be signed in to change notification settings - Fork 419
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
[Feature request]搜索替换功能 #379
Comments
是可以的,只是一直没有时间研究codemirror的搜索组件,所以一直没安排上。。。 |
研究了一下,还是比较简单,只要import几个文件就行 import 'codemirror/addon/scroll/annotatescrollbar.js'
import 'codemirror/addon/search/matchesonscrollbar.js'
import 'codemirror/addon/search/match-highlighter.js'
import 'codemirror/addon/search/jump-to-line.js'
import 'codemirror/addon/dialog/dialog.js'
import 'codemirror/addon/dialog/dialog.css'
import 'codemirror/addon/search/searchcursor.js'
import 'codemirror/addon/search/search.js' |
哈哈,求那个第三方组件的地址,我们瞅瞅~~~ |
应该是这个仓库:https://github.com/L-Focus/cm-search-replace |
收到~感谢推荐,我们去瞅瞅~~ |
感谢推荐,已经接入了,在dev分支。 如果有任何建议欢迎再给我们提issue哈,期待你的更多反馈~~ |
* dev: feat: Tencent#379 通过引入第三方组件cm-search-replace实现左侧编辑器搜索、替换功能 fix: Tencent#380 修复粘贴时转义&的问题,同时修复粘贴table时出现过多换行的问题\n feat: 当表格thead为空的时候,不再渲染<thead> fix: Tencent#374 光标处于编辑区域最低部时,预览区域滚动到了顶部
能否开启codemirror自带的搜索替换功能?
The text was updated successfully, but these errors were encountered: