fix(text): Title is not selected when creating a note via the launcher (#8292)

This commit is contained in:
Elian Doran 2026-01-07 19:32:37 +02:00
parent a63b8b2031
commit 1f77540dbb
No known key found for this signature in database

View File

@ -286,7 +286,7 @@ function useWatchdogCrashHandling() {
const currentState = watchdog.state;
logInfo(`CKEditor state changed to ${currentState}`);
if (currentState === "ready") {
if (currentState === "ready" && hasCrashed.current) {
hasCrashed.current = false;
watchdog.editor?.focus();
}