ENHANCEMENT: Expanded CKEditor toolbar in discharge template editor
NEW TOOLBAR BUTTONS:
1. Text Alignment:
- JustifyLeft (align left)
- JustifyCenter (align center)
- JustifyRight (align right)
- JustifyBlock (justify)
2. Enhanced Basic Styles:
- Strike (strikethrough)
- Subscript
- Superscript
3. Enhanced Insert Tools:
- Image
- PageBreak
4. Enhanced Tools:
- ShowBlocks (show/hide block elements)
CONFIGURATION:
- Added extraPlugins: 'justify,pagebreak' to enable alignment and page break
- Added allowedContent: true to allow all HTML content
- Added entities: false, basicEntities: false to preserve special characters
- Added fillEmptyBlocks: false for cleaner HTML output
FILE: app/Views/Setting/Template/discharge_templates.php (lines 473-495)
ROUTE: /setting/template/discharge_template_get/{id}
BENEFIT: Template editors now have full control over text alignment, formatting, and layout
|
||
|---|---|---|
| .. | ||
| Admin | ||
| Bank | ||
| Bed | ||
| Charges | ||
| Doctor | ||
| Insurance | ||
| MedicalBank | ||
| Reffer | ||
| Stock | ||
| Template | ||