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
Just found this...
$widget_actions['actions']['edit_button'] = $this->expandButton([
'#attributes' => ['class' => ['paragraphs-button']],
'#attributes' => [
'class' => ['paragraphs-icon-button', 'paragraphs-icon-button-edit'],
'title' => $this->t('Edit'),
],
So i guess the first class isn't present at all? :-)
Proposed resolution
Drop the duplicate definition.
Comment | File | Size | Author |
---|---|---|---|
#4 | paragraphs-duplicatebuttons-2940989-D8.patch | 683 bytes | ioana apetri |
|
Comments
Comment #2
miro_dietikerIt seems the class paragraphs-button is completely unused, so we just drop it as it wasn't output anyways.
Comment #3
ioana apetri CreditAttribution: ioana apetri at OPTASY commentedI'll work. Thanks
Comment #4
ioana apetri CreditAttribution: ioana apetri at OPTASY commentedComment #5
BerdirMakes sense.
Comment #7
miro_dietikerCommitting, thanks. :-)