Aakansha Doshi %!s(int64=2) %!d(string=hai) anos
pai
achega
8c89fdfa51
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      src/element/textWysiwyg.tsx

+ 0 - 2
src/element/textWysiwyg.tsx

@@ -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);