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