logo-img

API Versioning in Laravel 11 with Filament 3

blog-img
19 Dec 2024
Yunus
45x dilihat

#Overrides

The Link, Media and Grid Builder modals are built using Filament Form Component Actions. This means it is easy enough to swap them out with your own implementations.

#Link Modal

You may override the default Link modal with your own Action and assign to the link_action key in the config file. Make sure the default name for your action is filament_tiptap_link.

See vendor/awcodes/filament-tiptap-editor/src/Actions/LinkAction.php for implementation.

#Media Modal

You may override the default Media modal with your own Action and assign to the media_action key in the config file. Make sure the default name for your action is filament_tiptap_media.

See vendor/awcodes/filament-tiptap-editor/src/Actions/MediaAction.php for implementation.

#Grid Builder Modal

You may override the default Grid Builder modal with your own Action and assign to the grid_builder_action key in the config file. Make sure the default name for your action is filament_tiptap_grid.

See vendor/awcodes/filament-tiptap-editor/src/Actions/GridBuilderAction.php for implementation.

#OEmbed Modal

You may override the default OEmbed modal with your own Action and assign to the oembed_action key in the config file. Make sure the default name for your action is filament_tiptap_grid.

See vendor/awcodes/filament-tiptap-editor/src/Actions/OEmbedAction.php for implementation.

#Initial height of editor field

You can add extra input attributes to the field with the extraInputAttributes() method. This allows you to do things like set the initial height of the editor.