halo/ui/packages
Takagi 0f01006606
fix: bubble menu not appearing when crossing lines in editor (#6268)
#### What type of PR is this?

/kind bug
/area editor
/milestone 2.18.x

#### What this PR does / why we need it:

在默认编辑器中,选中一个跨多个节点的 text 时,selection 会变为 RangeSelection,此时冒泡菜单将不会出现。

此 RP 将 RangeSelection 添加至 text 的冒泡菜单验证中,使得冒泡菜单可以出现。

#### How to test it?

测试跨行选中多个无序列表时,是否出现冒泡菜单。

#### Which issue(s) this PR fixes:

Fixes #6267 

#### Does this PR introduce a user-facing change?
```release-note
修复默认编辑器中跨行选择节点时冒泡菜单无法出现的问题
```
2024-07-05 10:29:07 +00:00
..
api-client Prepare for developing 2.18.0 (#6259) 2024-07-04 02:36:31 +00:00
components Prepare for developing 2.18.0 (#6259) 2024-07-04 02:36:31 +00:00
editor fix: bubble menu not appearing when crossing lines in editor (#6268) 2024-07-05 10:29:07 +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