Content moderation concurrent edit notify
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Downloads
Component created
Component changed
Component body
About
Visually notify users if a new revision is saved when editing a moderated node.
Require core Drupal 8 module https://www.drupal.org/docs/8/core/modules/content-moderation
Minimum version Drupal 8.2.x
Implementation
At specific interval, an ajax request is made while editing a moderated node to check if the current revision is outdated. If so, a message is printed before the form and the save button so the editor can take any action before saving and overriding any change.
If the concurrent revision is saved in a published state, a Drupal constraint will bring an error when saving the form, this module just alert before saving for this.
If the concurrent revision is not moved in a published state, the current revision will replace any changes made on the concurrent one. This is where this module bring a message to alert the editor for this use case.
