Skip to content

Commit

Permalink
Fix Block model init on dragging (#6297)
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamedsalem401 authored Nov 5, 2024
1 parent e8ec6e7 commit 4e97d63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/dom_components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ export default class ComponentManager extends ItemManagerModule<DomComponentsCon

if (!srcModel) {
const wrapper = this.getShallowWrapper();
srcModel = wrapper?.append(source)[0] || null;
srcModel = wrapper?.append(source, { temporary: true })[0] || null;
}

result.source = srcModel;
Expand Down

0 comments on commit 4e97d63

Please sign in to comment.