We should change the tempstore to save changes on a per-block level so that users can undo changes made to different blocks individually. Consider the following use case: user changes the settings for block 1, block 2 and block 3, then realizes that they need to undo the changes made to block 2. The only way to do that currently is to undo all changes, and then have the user recreate the changes for block 1 and block 3. Really bad UX and it gets even worse as the number of changed blocks increases.
How about we have per-block tempstores instead of a single one for the entire form? That would allow us to place "Discard changes" links individually on each changed block in addition to the global "Cancel" button that we have for the entire form.
Recent comments
Ruby Text can be a bit of a hassle to edit... Yes, I can imagine that. No idea, how an editor dialog (or whatever) for easier editing of those should look like - in terms of...
Specific tags to work in CKEditor 5
"why are these tags only relevant for admins?" I'm allowing the editor as well. That being said, Ruby Text can be a bit of a hassle to edit... easy to accidentally delete a tag or part of a...
Specific tags to work in CKEditor 5
Out of curiosity: why are these tags only relevant for admins? Don't "regular" editors on that site also need them under circumstances? Yes, the editors play nicely, no problem to...
Specific tags to work in CKEditor 5