fix(editor): pass page_id on chat-design InsertSubtree (native + web)

Restore page_id: None on the two chat_design_apply InsertSubtree initializers (dropped by a branch reset).
This commit is contained in:
Kayshen-X 2026-06-02 22:14:00 +08:00
parent 96753a7b5d
commit 3d3ba232c8
2 changed files with 2 additions and 0 deletions

View file

@ -13,6 +13,7 @@ impl WidgetHostNative {
if self.editor_state.apply(EditorCommand::InsertSubtree {
nodes,
parent_id: NodeId::NONE,
page_id: None,
}) {
self.editor_state
.chat

View file

@ -13,6 +13,7 @@ impl WidgetHost {
if self.editor_state.apply(EditorCommand::InsertSubtree {
nodes,
parent_id: NodeId::NONE,
page_id: None,
}) {
self.editor_state
.chat