No proper debounce for Edit Modal in RichContentCustomBlock
When using a RichContentCustomBlock, inserting a custom block loads the preview, and editing opens a modal.
However, clicking the 'edit' button multiple times opens the modal again, and closing it via 'cancel' often triggers errors like "Undefined array key "mode" " or "Undefined array key 'id'". It seems the config isn’t properly cleaned up on subsequent modal opens, possibly related to mountedActionShouldOpenModal in CustomBlockAction.
Is there a clean way in Filament to handle this for a custom block extending RichContentCustomBlock?
0 Replies