-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
默认编辑器的一些问题 #4447
Comments
/area editor |
这个问题已经在 #4445 中优化,会随着 2.9 发布。
已经在 halo-sigs/richtext-editor#33 中优化,会随着 2.9 发布。 建议提交 issue 时,各个无关系的问题分开提交 issue,方便管理和跟踪,这种“汇总”型的 issue 很容易随着时间被忽略。 |
#### What type of PR is this? /kind feature /aear editor #### What this PR does / why we need it: 为编辑器中的 Head 及段落增加了 Tab 键缩进的扩展,并为代码块增加了缩进。可以使用 `Tab` 键进行缩进,使用 `Shift + Tab` 组合键进行缩进回退。 #### How to test it? 1. 检查标题及普通段落是否能够正常进行缩进以及撤销缩进。 2. 使用代码块,查看是否能够正常进行缩进以及撤销缩进。 3. 检查其他编辑器组件是否会被影响。 上述部分均可测试选中部分内容及光标焦点位置,查看是否符合预期。 #### Which issue(s) this PR fixes: See [#4447](halo-dev/halo#4447) See [#4380](halo-dev/halo#4380) #### Does this PR introduce a user-facing change? ```release-note 编辑器标题、段落及代码块增加 Tab 快捷键缩进 ```
…t the code (#43) #### What type of PR is this? /kind improvement #### What this PR does / why we need it: 在代码块中使用 ctrl + a / command + a 时,只会选中当前代码块中的内容而不是编辑器的全部内容 #### How to test it? 1. 创建一个代码块并编辑一些文本。 2. 在代码块中按 ctrl + a / command + a,查看选中的是否仅为代码块中的文本 #### Which issue(s) this PR fixes: Ref halo-dev/halo#4447 Ref halo-dev/halo#4232 #### Does this PR introduce a user-facing change? ```release-note 在代码块中使用全选快捷键将只会选中代码 ```
以上提到的问题都已经在 #4669 中优化。 /close |
@ruibaby: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
是什么版本出现了此问题?
一直都有
使用的什么数据库?
MySQL 8.x
使用的哪种方式部署?
Docker Compose
在线站点地址
No response
发生了什么?
代码块里面无法使用 tab 缩进
编辑文章时候一直按空格或者退格会卡 , 文章字多了之后也会卡
a. edge 稍微好一点 , chrome 卡的根本没法用
图片手动缩放应该为等比例缩放
行内代码按左右键无法退出 , 必须还要按一次 ctrl + e
在代码块里面 ctrl + a 应该复制整个代码 , 而不是整个文章 , 或者像发布后那样提供一个复制整个代码的按钮
代码块内容为空时按 / 会调出列表

默认编辑器里面的代码格式和发布后的代码块格式不一样

a. 直接在编辑器里面和从 IDE 复制过来的格式 , 编辑页面是相同的 , 发布之后格式不一样
b. 也可能是主题的问题 , 有些主题的代码块缩进2个空格 , 有些主题会缩进8个空格
相关日志输出
No response
附加信息
No response
The text was updated successfully, but these errors were encountered: