Save & Edit button looks like two overlapping buttons

Created on 6 September 2022, about 2 years ago
Updated 10 August 2023, over 1 year ago

Problem/Motivation

Save & Edit button looks like two overlapping buttons

Steps to reproduce

  • Open node edit view
  • Check the save & edit button top right corner

Image attached of the issue

🐛 Bug report
Status

Closed: duplicate

Version

1.0

Component

User interface

Created by

🇫🇮Finland Frazile

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇺🇸United States kevinfunk

    This issue can be fixed by turning off Integrate into dropbutton on Save & Edit settings.

  • Status changed to Needs work over 1 year ago
  • 🇺🇸United States caesius
    +        if (
    +          $entity->getEntityTypeId() === 'node'
    +          && in_array($entity->bundle(), ['landing_page', 'page', 'article'])
    +        ) {
    +          $form['#attached']['library'][] = 'save_edit/save_edit_css';
    +        }

    We shouldn't be hardcoding content types here.

  • 🇺🇸United States caesius

    As mentioned in #11, unchecking "Integrate into Dropbutton" should fix the issue.

    I have been looking into how to get content types to actually use a dropbutton, but it seems dropbuttons are no longer used for node edit forms. See #2914426: Revert the removal of the entity save dropbutton in Drupal 8.4.0

    So the "Integrate into Dropbutton" configuration is supposed to support functionality that is no longer provided by Drupal core. I'm not sure if contributed modules may still convert the simple buttons back to a dropbutton though.

    The best solution may be to update the default configuration for module installation to leave that checkbox unchecked and provide a note that dropbuttons are no longer used in Drupal core.

  • Issue was unassigned.
  • Status changed to Closed: duplicate over 1 year ago
  • 🇺🇸United States caesius

    Created a new issue to address this, 📌 Remove Dropbutton support to resolve theming issues Fixed

    Closing this issue as a duplicate.

Production build 0.71.5 2024