The Laravel Filament Flexible Content Blocks package helps you to easily create content in Filament for any model, with predefined or custom blocks, and foreach block an extendable Blade view component.
This PR fixes a couple of small issues to make the example code work. BUT there is still an issue when the project has just one locale (no translations) as when trying to save a page, an exception will be thrown due to the lack of the "setTranslation" method on the Page model (not the TranslatedPage).
This PR fixes a couple of small issues to make the example code work. BUT there is still an issue when the project has just one locale (no translations) as when trying to save a page, an exception will be thrown due to the lack of the "setTranslation" method on the Page model (not the TranslatedPage).