Browse Source

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

Aakansha Doshi 2 năm trước cách đây
mục cha
commit
7f1ef7562c
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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()) {