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