2
0
Эх сурвалжийг харах

Merge remote-tracking branch 'origin/master' into aakansha-baseline

Aakansha Doshi 2 жил өмнө
parent
commit
7f1ef7562c

+ 1 - 0
src/element/textWysiwyg.tsx

@@ -311,6 +311,7 @@ export const textWysiwyg = ({
         filter: "var(--theme-filter)",
         maxHeight: `${editorMaxHeight}px`,
       });
+      editable.scrollTop = 0;
       // For some reason updating font attribute doesn't set font family
       // hence updating font family explicitly for test environment
       if (isTestEnv()) {