fix: Resolve the issue of possible abnormal text generated during page creation.

This commit is contained in:
LIlGG
2025-10-09 17:48:18 +08:00
parent a93a679c71
commit c5d47c680c
11 changed files with 404 additions and 54 deletions

View File

@@ -6,7 +6,6 @@ import type { PageMap } from '~/lib/stores/pages';
import type { PageHistory, Section } from '~/types/actions';
import type { DocumentProperties } from '~/types/editor';
import { logger, renderLogger } from '~/utils/logger';
import { isMobile } from '~/utils/mobile';
import {
EditorStudio,
type OnChangeCallback,
@@ -84,7 +83,6 @@ export const EditorPanel = memo(
settings={editorSettings}
currentPage={currentPage}
currentSection={currentSection}
autoFocusOnDocumentChange={!isMobile()}
onChange={onEditorChange}
onSave={onPageSave}
onReset={onPageReset}