← All changes
|
app/Hooks/Handlers/BlockEditors/StoreLogoBlockEditor.php
+2
-2
1.6.2
→
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\Services\Renderer\StoreLogoRenderer; |
| 6 | 7 | use FluentCart\App\Services\Translations\TransStrings; |
| 7 | -use FluentCart\App\Vite; | |
| 8 | 8 | |
| 9 | 9 | class StoreLogoBlockEditor extends BlockEditor |
| 10 | 10 | { |
| 11 | 11 | protected static string $editorName = 'store-logo'; |
| @@ -34,9 +34,9 @@ | ||
| 34 | 34 | 'slug' => $this->slugPrefix, |
| 35 | 35 | 'name' => static::getEditorName(), |
| 36 | 36 | 'title' => __('Store Logo', 'fluent-cart'), |
| 37 | 37 | 'description' => __('Display your store logo.', 'fluent-cart'), |
| 38 | - 'placeholder_image' => Vite::getAssetUrl('images/placeholder.svg'), | |
| 38 | + 'placeholder_image' => Helper::getProductPlaceholderUrl(), | |
| 39 | 39 | 'store_logo' => $renderer->getStoreLogo(), |
| 40 | 40 | 'store_name' => $renderer->getStoreName(), |
| 41 | 41 | 'home_url' => home_url('/') |
| 42 | 42 | ], |