sunsonliu

Results 275 comments of sunsonliu

> 修复全屏时编辑区和预览区中间分割线拖拽位置错位的问题 ![image](https://github.com/Tencent/cherry-markdown/assets/998441/b6877d43-0983-41a5-9c9d-5b662c30a5e7) 哦哦,当时临近春节假期,为了避免发版后引发问题导致无人快速跟进,所以我们积攒了一批提交没有发布,现在大家都回来正常上班了,我们争取尽快发版本哈

目前用的是类sublime的编辑方式,如果希望改成vim的编辑方式,可以自行修改下哈,需要修改 `/src/Editor.js` 首先引入codemirror的vim扩展`import 'codemirror/keymap/vim';` 然后在这个位置改成`vim` ![image](https://github.com/Tencent/cherry-markdown/assets/998441/f3074bb4-6651-41e7-b179-d05cc43be906) 这样编辑器的体验就变成了vim的编辑体验了哈

可以先按上述方案自行实现哈,后面我们也考虑下要不要提供配置能力

已增加vim快捷键的配置,可以在[这里](https://tencent.github.io/cherry-markdown/examples/vim.html)体验 配置方式如下: ``` new Cherry({ editor: { keyMap: 'vim', }, }); ```

- 插入公式时给几个常用公式的模板 (done https://github.com/Tencent/cherry-markdown/pull/537 ) - ~预览区域支持标题折叠~ (已有专门的issue跟进https://github.com/Tencent/cherry-markdown/issues/542 ,不在这里跟进) - ~考虑增加更多文字特效,如气泡~(该功能优先级不高,不再考虑)

(done https://github.com/Tencent/cherry-markdown/pull/537 ) 关于公式增加常用模板,在实现时还可以考虑在右侧预览区域增加更多功能,可参考(https://latexlive.com): ![image](https://user-images.githubusercontent.com/998441/207045129-48abf213-52fc-4fb3-a1b1-f064d802688a.png)

**需求背景** ~提升在编辑列表类型内容时的效率。支持通过tab/shift+tab快速切换列表层级~ **详细描述** - 通过“-”进行无序列表的输入 - 换行后,第二行会自动补全“-” - 此时点击tab,无法将当前行切换为子集(除非先把光标移动到“-”之前) - 希望可以支持在此情况下直接跳转 已有专门的issue跟进(https://github.com/Tencent/cherry-markdown/issues/540 ),不在这里跟进。

> > 关于公式增加常用模板,在实现时还可以考虑在右侧预览区域增加更多功能,可参考([https://latexlive.com):](https://latexlive.com%EF%BC%89%EF%BC%9A) ![image](https://user-images.githubusercontent.com/998441/207045129-48abf213-52fc-4fb3-a1b1-f064d802688a.png) > > 这个也有吧 #537 有了有了,done (https://github.com/Tencent/cherry-markdown/pull/537 )

收到,请问这里的居右显示是指的左边编辑区域还是右边预览区域的内容?