mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Merge pull request #17063 from filamentphp/fix/markdown-editor-file-uploads
fix: Markdown editor file uploads
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
toolbarButtons: @js($getToolbarButtons()),
|
||||
translations: @js(__('filament-forms::components.markdown_editor')),
|
||||
uploadFileAttachmentUsing: async (file, onSuccess, onError) => {
|
||||
$wire.upload(`componentFileAttachments.{{ $key }}`, file, () => {
|
||||
$wire.upload(`componentFileAttachments.{{ $statePath }}`, file, () => {
|
||||
$wire
|
||||
.callSchemaComponentMethod(
|
||||
'{{ $key }}',
|
||||
|
||||
Reference in New Issue
Block a user