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 commentedComment #3
volkerk commentedhttps://github.com/thunder/paragraphs_features/pull/25
Comment #5
volkerk commented