This commit is contained in:
Aakansha Doshi 2023-03-01 13:41:20 +05:30
parent 0e54994187
commit 8c89fdfa51

View File

@ -249,8 +249,6 @@ export const textWysiwyg = ({
editable.selectionEnd = editable.value.length - diff;
}
const lines = updatedTextElement.originalText.split("\n");
if (!container) {
maxWidth = (appState.width - 8 - viewportX) / appState.zoom.value;
textElementWidth = Math.min(textElementWidth, maxWidth);