filamentphp/filament · error · LogicException
Toolbar button [{$button}] cannot be found.
Error message
Toolbar button [{$button}] cannot be found. What it means
Error "Toolbar button [{$button}] cannot be found." thrown in filamentphp/filament.
Source
Thrown at packages/forms/src/Components/RichEditor.php:1613
'fi-fo-rich-editor-uploading-file': isUploadingFile,
}"
wire:ignore
wire:key="<?= e($livewireKey) ?>.<?= substr(md5(serialize([$isDisabled])), 0, 64) ?>"
>
<?php if ((! $isDisabled) && filled($toolbarButtons)) { ?>
<?php // `role="toolbar"` is withheld until the APG roving-tabindex/arrow-key pattern is
// implemented: the tools are `tabindex="-1"` with no arrow-key navigation, so announcing
// a toolbar would promise keyboard behaviour that does not exist. The `aria-label`
// still names the group.?>
<div
class="fi-fo-rich-editor-toolbar"
aria-label="<?= e(__('filament-forms::components.rich_editor.toolbar.label')) ?>"
>
<?php foreach ($toolbarButtons as $buttonGroup) { ?>
<div class="fi-fo-rich-editor-toolbar-group">
<?php foreach ($buttonGroup as $button) { ?>
<?php if (is_string($button)) { ?>
<?= ($tools[$button] ?? throw new LogicException("Toolbar button [{$button}] cannot be found."))->toHtml() ?>
<?php } else { ?>
<?= $button->toHtml() ?>
<?php } ?>
<?php } ?>
</div>
<?php } ?>
</div>
<?php } ?>
<div
x-show="isUploadingFile"
x-cloak
class="fi-fo-rich-editor-uploading-file-message"
>
<?= generate_loading_indicator_html()->toHtml() ?>
<span><?= e($this->getUploadingFileMessage()) ?></span>
</div>View on GitHub (pinned to 53483fa934)
When it happens
Trigger: Thrown at packages/forms/src/Components/RichEditor.php:1613 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of filamentphp/filament@53483fa934 (2026-08-17).
Data as JSON: /api/errors/374bd4a77c309f8f.
Report an issue: GitHub.