Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
When content lock module is enabled and an article is locked for editing, then all action elements that can change content are disabled. The problem here is that a custom remove confirmation dialog button doesn't take in account that base remove button is disabled.
Proposed resolution
We should add same logic as we have for add in between buttons, where we check if the base action element is disabled and simply transfer that state to elements added by javascript.
Comments
Comment #2
mtodor CreditAttribution: mtodor at Thunder commentedComment #3
volkerk CreditAttribution: volkerk at Thunder commentedhttps://github.com/thunder/paragraphs_features/pull/25
Comment #5
volkerk CreditAttribution: volkerk at Thunder commented