devsofttech_hms_ci4/app/Views/Setting
DevSoftTech Server 8461cae263 Fix: CKEditor console error - remove unavailable pagebreak plugin
ERROR: Uncaught TypeError: can't access property 'icons', h is null
FILE: ckeditor.js:267

ROOT CAUSE:
Previous commit added 'extraPlugins: justify,pagebreak' to CKEditor config.
The pagebreak plugin is NOT included in the standard CKEditor build being used.
CKEditor tried to load pagebreak plugin, failed, and threw null reference error.

SOLUTION:
1. Removed 'PageBreak' button from insert toolbar
2. Removed 'extraPlugins: justify,pagebreak' config line
3. Justify plugin is CORE plugin - included by default, no need to load explicitly
4. Text alignment buttons (JustifyLeft, Center, Right, Block) still work perfectly

WHAT STILL WORKS:
✅ Text alignment buttons (user's original request)
✅ All other enhanced buttons (Strike, Subscript, Superscript, Image, ShowBlocks)
✅ No console errors

WHAT WAS REMOVED:
❌ PageBreak button (was bonus feature, not in CKEditor build)

TESTING: Reload /setting/template/discharge_templates - no console errors
2026-06-07 11:14:48 +05:30
..
Admin Add pharmacy invoice permissions and discount print fixes 2026-06-01 10:13:40 +05:30
Bank Implement OPD template builder, doctor template selection, and OPD print integration fixes 2026-02-27 19:44:36 +05:30
Bed refactor: set number input step to 1 across views 2026-04-10 21:16:25 +05:30
Charges feat(ipd-charges): group delete, sort order, Up/Down buttons, foldable billing panels 2026-04-18 06:56:38 +05:30
Doctor feat: add HealthPlix OPD sync flow with settings, diagnostics, and sync ID persistence 2026-04-27 08:32:51 +05:30
Insurance Fix legacy billing prints and pathology template compatibility 2026-03-21 02:23:31 +05:30
MedicalBank Implement OPD template builder, doctor template selection, and OPD print integration fixes 2026-02-27 19:44:36 +05:30
Reffer Implement OPD template builder, doctor template selection, and OPD print integration fixes 2026-02-27 19:44:36 +05:30
Stock refactor: set number input step to 1 across views 2026-04-10 21:16:25 +05:30
Template Fix: CKEditor console error - remove unavailable pagebreak plugin 2026-06-07 11:14:48 +05:30