halo/ui/packages
Takagi 59b3f460fb
feat: add the first line indent to the Tab shortcut key (#6388)
#### 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 快捷键首行缩进功能
```
2024-07-29 04:47:52 +00:00
..
api-client Regenerate OpenAPI docs and api client (#6378) 2024-07-25 07:07:37 +00:00
components Prepare for developing 2.18.0 (#6259) 2024-07-04 02:36:31 +00:00
editor feat: add the first line indent to the Tab shortcut key (#6388) 2024-07-29 04:47:52 +00:00
shared Prepare for developing 2.18.0 (#6259) 2024-07-04 02:36:31 +00:00
ui-plugin-bundler-kit Prepare for developing 2.18.0 (#6259) 2024-07-04 02:36:31 +00:00