Explorar o código

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

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

+ 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()) {