- Issue created by @danielveza
- First commit to issue fork.
- 🇮🇳India libbna New Delhi, India
I have replaced the revert confirmation text
Are you sure you want to revert this to defaults?
withThis layout will be reverted to the default layout, any custom overrides will be lost. Are you sure you want to continue?
. However, in my opinion, this message may be a bit too long. As noted in one of the comments on https://www.drupal.org/project/drupal/issues/3528251 ✨ Improve clarity of Layout Builder "Revert changes" confirmation form Active , and to maintain consistency, could we consider using the existing messageAny unsaved changes to the layout will be lost. This action cannot be undone.
instead? - 🇳🇿New Zealand danielveza Brisbane, AU
could we consider using the existing message Any unsaved changes to the layout will be lost. This action cannot be undone. instead?
In the Revert form, this message wouldn't be accurate. Changes to the layout have already been saved.
Reverting to default is more desctructive (but can be restored by reverting to a past revision) than discarding changes (Which is just clearning the tempstore), so I think a more verbose message makes sense here.