From 9248df9a99032d58db88a4ea7a2b8f25c6c50d3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=9Cmit=20Tun=C3=A7?= Date: Wed, 5 Nov 2025 11:09:14 -0300 Subject: [PATCH] Update placeholder picker component: Added support for special placeholders in the placeholder picker, enhancing the user experience by allowing easier insertion of predefined placeholders. Removed the dedicated section for special placeholders to streamline the interface. --- .../components/placeholder-picker.blade.php | 56 +------------------ 1 file changed, 2 insertions(+), 54 deletions(-) diff --git a/resources/views/components/placeholder-picker.blade.php b/resources/views/components/placeholder-picker.blade.php index 708683e..ba1b94f 100644 --- a/resources/views/components/placeholder-picker.blade.php +++ b/resources/views/components/placeholder-picker.blade.php @@ -1,6 +1,7 @@ @php // Desteklenen placeholder tipleri ve açıklamaları $placeholderTypes = [ + 'special' => ['label' => __('placeholder-picker.special_placeholders'), 'examples' => ['page.content', 'page.title', 'page.excerpt', 'menu', 'staticMenu']], 'text' => ['label' => __('placeholder-picker.type_text'), 'examples' => ['company_name', 'title', 'description', 'subtitle']], 'email' => ['label' => __('placeholder-picker.type_email'), 'examples' => ['contact', 'support', 'info', 'sales']], 'url' => ['label' => __('placeholder-picker.type_url'), 'examples' => ['website', 'facebook', 'twitter', 'linkedin']], @@ -105,60 +106,7 @@
- -
-

- {{ __('placeholder-picker.special_placeholders') }} -

-
- - {page.content} - - - {page.title} - - - {page.excerpt} - - - {menu} - - - {staticMenu} - -
-
- +