Problem/Motivation
The workbench_moderation module should be comapitable with the gutenberg module.
Proposed resolution
- Implement a hook_page_attachments_alter() to pass on the moderation states into
drupalSettings.gutenberg.nodeActions. - Updated the \Drupal\workbench_moderation\Plugin\Field\FieldWidget\ModerationStateWidget::processActions to add attributes.id to the button element.
Issue fork workbench_moderation-3221242
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
rahul.shindeComment #4
rahul.shinde