diff --git a/packages/draw/src/utils/common.ts b/packages/draw/src/utils/common.ts index 19e1d795d..41f20b6fe 100644 --- a/packages/draw/src/utils/common.ts +++ b/packages/draw/src/utils/common.ts @@ -100,7 +100,7 @@ export const isDrawElementsIncludeText = (elements: PlaitDrawElement[]) => { }; export const isDrawElementClosed = (element: PlaitDrawElement) => { - if (PlaitDrawElement.isText(element) || PlaitDrawElement.isArrowLine(element)) { + if (PlaitDrawElement.isText(element) || PlaitDrawElement.isArrowLine(element) || PlaitDrawElement.isImage(element)) { return false; }