mirror of
https://github.com/zadam/trilium.git
synced 2026-01-18 20:44:26 +01:00
fix(text): Title is not selected when creating a note via the launcher (#8292)
This commit is contained in:
parent
a63b8b2031
commit
1f77540dbb
@ -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();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user