mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-10 21:48:48 +08:00
fix: should bring children to new doc created (#9316)
Closes: [BS-2186](https://linear.app/affine-design/issue/BS-2186/created-linked-doc-%E6%97%B6%EF%BC%8C%E4%BC%9A%E6%B8%85%E9%99%A4list%E7%9A%84-children)
This commit is contained in:
@@ -197,7 +197,7 @@ export function toolbarDefaultConfig(toolbar: AffineFormatBarWidget) {
|
||||
const [_, ctx] = chain
|
||||
.getSelectedModels({
|
||||
types: ['block', 'text'],
|
||||
mode: 'highest',
|
||||
mode: 'flat',
|
||||
})
|
||||
.draftSelectedModels()
|
||||
.run();
|
||||
|
||||
Reference in New Issue
Block a user