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:
Ümit Tunç
2025-11-03 16:30:50 -03:00
parent 5b14260622
commit 6a5e26638c
10 changed files with 416 additions and 0 deletions
+33
View File
@@ -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',
];