← All changes
|
app/Hooks/Handlers/BlockEditors/ExcerptBlockEditor.php
+2
-2
trunk
→
1.6.5
View file →
| @@ -1,13 +1,13 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | namespace FluentCart\App\Hooks\Handlers\BlockEditors; |
| 4 | 4 | |
| 5 | -use FluentCart\App\Helpers\Helper; | |
| 6 | 5 | use FluentCart\App\Modules\Templating\AssetLoader; |
| 7 | 6 | use FluentCart\App\Services\Renderer\ProductCardRender; |
| 8 | 7 | use FluentCart\App\Services\Renderer\ProductRenderer; |
| 9 | 8 | use FluentCart\App\Services\Translations\TransStrings; |
| 9 | +use FluentCart\App\Vite; | |
| 10 | 10 | use FluentCart\Framework\Support\Arr; |
| 11 | 11 | use FluentCart\App\Models\Product; |
| 12 | 12 | |
| 13 | 13 | class ExcerptBlockEditor extends BlockEditor |
| @@ -88,9 +88,9 @@ | ||
| 88 | 88 | 'slug' => $this->slugPrefix, |
| 89 | 89 | 'name' => static::getEditorName(), |
| 90 | 90 | 'title' => __('Excerpt', 'fluent-cart'), |
| 91 | 91 | 'description' => __('This block will display the excerpt.', 'fluent-cart'), |
| 92 | - 'placeholder_image' => Helper::getProductPlaceholderUrl() | |
| 92 | + 'placeholder_image' => Vite::getAssetUrl('images/placeholder.svg') | |
| 93 | 93 | ], |
| 94 | 94 | 'fluent_cart_block_translation' => TransStrings::blockStrings(), |
| 95 | 95 | ]; |
| 96 | 96 | } |