Problem/Motivation
When creating a custom message for the maintenance page, you can use HTML at /admin/config/development/maintenance. The purpose of this issue is to enable the WYSIWYG editor on this page.
User interface changes
Before:
Expected after:
Impacts
- Update the system.schema and the corresponding system.maintenace configuration.
- Add hook_update_N() for this.
- Update MaintenanceForm to allow WYSIWYG.
- Update the message display in Maintenance page to let the message value being displayed.
- Update tests
- Update translation tests
- Update update process (from D6/D7 to D8)
- Update the update process tests.
Data model changes
Before message is now a text_format instead of text in system.schema.yml, the system.maintenance.yml is impacted. message key is now an array of value / format.
Before:
message: '@site is currently under maintenance. We should be back shortly. Thank you for your patience.'
langcode: en
After:
message:
value: '@site is currently under maintenance. We should be back shortly. Thank you for your patience.'
format: plain_text
langcode: en