This commit is contained in:
Juergen Kunz
2025-06-24 18:52:48 +00:00
parent 89a4a15e78
commit 856d354b5a
2 changed files with 81 additions and 4 deletions

View File

@ -925,6 +925,8 @@ export class DeesWysiwygBlock extends DeesElement {
e.stopPropagation();
// Focus will trigger the selection
dividerBlock.focus();
// Ensure focus handler is called immediately
this.handlers?.onFocus?.();
});
// Handle focus/blur
@ -965,6 +967,8 @@ export class DeesWysiwygBlock extends DeesElement {
e.stopPropagation();
// Focus will trigger the selection
imageBlock.focus();
// Ensure focus handler is called immediately
this.handlers?.onFocus?.();
}
});