mirror of https://github.com/halo-dev/halo
![]() #### What type of PR is this? /kind feature /area editor #### What this PR does / why we need it: 支持在默认编辑器中使用 Tab 键实现首行缩进的功能。 当光标处于文本首行时,按下 Tab 键会触发首行缩进。 在首行缩进的情况下或者选中一段文本,再次按下 Tab 键会触发整段缩进。 #### How to test it? 测试文本块及区域标题块首行按下 Tab 键是否可以正常触发首行缩进 #### Which issue(s) this PR fixes: Fixes #6316 #### Does this PR introduce a user-facing change? ```release-note 默认编辑器增加 Tab 快捷键首行缩进功能 ``` |
||
---|---|---|
.. | ||
docs | ||
src | ||
.eslintrc.cjs | ||
.gitignore | ||
.release-it.json | ||
env.d.ts | ||
index.html | ||
package.json | ||
postcss.config.js | ||
prettier.config.js | ||
tailwind.config.js | ||
tsconfig.app.json | ||
tsconfig.json | ||
tsconfig.node.json | ||
tsconfig.vitest.json | ||
vite.config.ts | ||
vite.lib.config.ts |