Add placeholder picker component to template forms: Integrated a new placeholder picker component in Footer, Header, Menu, and Section template forms to enhance user experience by allowing easy insertion of placeholder variables. Updated the TemplateService to support custom blade components and added localization for the new placeholder picker functionality.
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'title' => 'Placeholder Variables',
|
||||
'click_to_insert' => 'Click to insert into editor',
|
||||
'special_placeholders' => 'Special Placeholders',
|
||||
|
||||
// Placeholder Types
|
||||
'type_text' => 'Text',
|
||||
'type_email' => 'Email',
|
||||
'type_url' => 'URL',
|
||||
'type_tel' => 'Telephone',
|
||||
'type_number' => 'Number',
|
||||
'type_textarea' => 'Textarea',
|
||||
'type_richtext' => 'Rich Text',
|
||||
'type_markdown' => 'Markdown',
|
||||
'type_code' => 'Code',
|
||||
'type_date' => 'Date',
|
||||
'type_datetime' => 'Date & Time',
|
||||
'type_time' => 'Time',
|
||||
'type_image' => 'Image',
|
||||
'type_images' => 'Images (Multiple)',
|
||||
'type_file' => 'File',
|
||||
'type_files' => 'Files (Multiple)',
|
||||
'type_select' => 'Select',
|
||||
'type_multiselect' => 'Multi Select',
|
||||
'type_checkbox' => 'Checkbox',
|
||||
'type_radio' => 'Radio',
|
||||
'type_toggle' => 'Toggle',
|
||||
'type_color' => 'Color',
|
||||
'type_tags' => 'Tags',
|
||||
];
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'title' => 'Placeholder Değişkenleri',
|
||||
'click_to_insert' => 'Tıklayarak editöre ekle',
|
||||
'special_placeholders' => 'Özel Placeholder\'lar',
|
||||
|
||||
// Placeholder Tipleri
|
||||
'type_text' => 'Metin',
|
||||
'type_email' => 'E-posta',
|
||||
'type_url' => 'URL',
|
||||
'type_tel' => 'Telefon',
|
||||
'type_number' => 'Sayı',
|
||||
'type_textarea' => 'Çok Satırlı Metin',
|
||||
'type_richtext' => 'Zengin Metin',
|
||||
'type_markdown' => 'Markdown',
|
||||
'type_code' => 'Kod',
|
||||
'type_date' => 'Tarih',
|
||||
'type_datetime' => 'Tarih ve Saat',
|
||||
'type_time' => 'Saat',
|
||||
'type_image' => 'Resim',
|
||||
'type_images' => 'Resimler (Çoklu)',
|
||||
'type_file' => 'Dosya',
|
||||
'type_files' => 'Dosyalar (Çoklu)',
|
||||
'type_select' => 'Seçim',
|
||||
'type_multiselect' => 'Çoklu Seçim',
|
||||
'type_checkbox' => 'Onay Kutusu',
|
||||
'type_radio' => 'Radyo Butonu',
|
||||
'type_toggle' => 'Aç/Kapa',
|
||||
'type_color' => 'Renk',
|
||||
'type_tags' => 'Etiketler',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user