← All changes
|
app/Hooks/Handlers/BlockEditors/PricingTableBlockEditor.php
+1
-2
1.4.2
→
1.7.0
View file →
| @@ -5,9 +5,8 @@ | ||
| 5 | 5 | use FluentCart\App\App; |
| 6 | 6 | use FluentCart\App\Helpers\Helper; |
| 7 | 7 | use FluentCart\App\Hooks\Handlers\ShortCodes\PricingTableShortCode; |
| 8 | 8 | use FluentCart\App\Services\Translations\TransStrings; |
| 9 | -use FluentCart\App\Vite; | |
| 10 | 9 | use FluentCart\Framework\Support\Arr; |
| 11 | 10 | |
| 12 | 11 | class PricingTableBlockEditor extends BlockEditor |
| 13 | 12 | { |
| @@ -45,9 +44,9 @@ | ||
| 45 | 44 | 'trans' => TransStrings::getShopAppBlockEditorString(), |
| 46 | 45 | 'title' => __('Pricing Table', 'fluent-cart'), |
| 47 | 46 | ], |
| 48 | 47 | 'fluent_cart_block_editor_asset' => [ |
| 49 | - 'placeholder_image' => Vite::getAssetUrl('images/placeholder.svg'), | |
| 48 | + 'placeholder_image' => Helper::getProductPlaceholderUrl(), | |
| 50 | 49 | ], |
| 51 | 50 | 'fluent_cart_block_translation' => TransStrings::blockStrings() |
| 52 | 51 | ]; |
| 53 | 52 | } |