fix: don't allow binding text to images (#6693)

This commit is contained in:
Aakansha Doshi
2023-06-19 13:47:28 +05:30
committed by GitHub
parent 6de6a96abf
commit 7f7128ec09
4 changed files with 9 additions and 12 deletions

View File

@ -126,7 +126,6 @@ export const isTextBindableContainer = (
(element.type === "rectangle" ||
element.type === "diamond" ||
element.type === "ellipse" ||
element.type === "image" ||
isArrowElement(element))
);
};