Files
cms.techvanguard.vn/controllers
Tống Thành Đạt cdaddddfeb refactor(policies): migrate to block-based content editor
Replace the legacy section-based policy editor with a flexible block-based system. This transition enables real-time previews, a wider variety of content types (headings, quotes, callouts), and improved data normalization.
- Implement `policies-block-editor.js` for dynamic content management
- Add `normalizePoliciesDocument` and `validateContent` utilities to handle data migration and integrity
- Update `policiesController.js` to support the new block structure and validation logic
- Migrate `policies.json` from `sections` array to a `content.blocks` structure
- Remove obsolete section editor views and partials
- Update `policiesConfig.js` to reflect the new editor capabilities
2026-04-22 10:14:54 +07:00
..
2026-04-11 19:15:01 +07:00
2026-04-11 19:15:01 +07:00
2026-04-11 19:15:01 +07:00
2026-02-02 11:07:09 +07:00
2026-02-02 11:07:09 +07:00
2026-02-02 11:07:09 +07:00
2026-02-02 11:07:09 +07:00
2026-04-11 19:15:01 +07:00
2026-04-11 19:15:01 +07:00
2026-02-02 11:07:09 +07:00
2026-04-11 19:15:01 +07:00
2026-04-11 19:15:01 +07:00
2026-02-02 11:07:09 +07:00
2026-04-11 19:15:01 +07:00
2026-04-11 19:15:01 +07:00
2026-04-11 19:15:01 +07:00
2026-04-11 19:15:01 +07:00