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

更换代码块编辑器 #3141

Closed
6 of 8 tasks
Vanessa219 opened this issue Oct 12, 2021 · 10 comments
Closed
6 of 8 tasks

更换代码块编辑器 #3141

Vanessa219 opened this issue Oct 12, 2021 · 10 comments

Comments

@Vanessa219 Vanessa219 self-assigned this Oct 12, 2021
@Vanessa219 Vanessa219 added this to the backlog milestone Oct 12, 2021
@88250 88250 added the Bug label Nov 12, 2021
@88250 88250 removed this from the backlog milestone Nov 12, 2021
@Vanessa219 Vanessa219 added Feature and removed Bug labels Nov 13, 2021
@Vanessa219 Vanessa219 added this to the backlog milestone Nov 13, 2021
@Vanessa219 Vanessa219 changed the title 代码块输入乱窜 更换代码块渲染引擎 Nov 13, 2021
@88250 88250 changed the title 更换代码块渲染引擎 更换代码块编辑器 Nov 14, 2021
@Zuoqiu-Yingyi
Copy link
Contributor

建议使用 Monaco Editor, 目前没有遇到单编辑器性能瓶颈, 如果支持焦点在编辑器中时编辑器快捷键覆盖笔记快捷键, 估计能争取到一批 vscode 粉丝😄
Monaco Editor 可能遇到的坑: 移动端支持, 单文章多编辑器渲染性能

@88250
Copy link
Member

88250 commented Nov 14, 2021

@Zuoqiu-Yingyi 估计会用 Code Mirror

@jearton
Copy link

jearton commented Dec 11, 2021

更换之后会需要对历史数据进行迁移吗?

@Vanessa219
Copy link
Member Author

部分在 #4190 中进行修复

@88250
Copy link
Member

88250 commented Jul 31, 2022

先关闭了,目前基本已经可用。

@88250 88250 closed this as completed Jul 31, 2022
@CnsMaple
Copy link

CnsMaple commented Aug 9, 2022

所以还打算更换到Code Mirror吗 @88250

@88250
Copy link
Member

88250 commented Aug 9, 2022

@CnsMaple 不换了。

@CnsMaple
Copy link

CnsMaple commented Aug 9, 2022

@88250 使用代码块写代码的时候,进行回车,能否在下一行前面自动补上缩进.或者添加这个功能?这个写起代码会方便很多

@88250
Copy link
Member

88250 commented Aug 10, 2022

@CnsMaple 实现不了,建议在 IDE 里面排版完一次性粘贴到思源。

@Chenm4
Copy link

Chenm4 commented Sep 18, 2022

@CnsMaple 实现不了,建议在 IDE 里面排版完一次性粘贴到思源。
我记得notion有一个功能是代码块可以自己调节颜色,例如一个代码块中某几行是最为关键的可以单独为这几行设置为全红色更加显眼,不知道notion是不是跟思源同一个机制,思源不知道能不能实现

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

6 participants