Update Quick Edit Pencil Settings for Default Node in Default View Mode

Created on 5 June 2024, 7 months ago
Updated 27 June 2024, 6 months ago

I use the Quick edit module because it allows you to see the application of all the CSS and above all the alignment of the images. In Edit the images all seem centered and instead, when transferring the pages from d9 to d10, many images are now aligned to the left and I have to center them all again (there are hundreds!). I don't understand why this is happening. Maybe it depends on ckeditor 5?

In any case, the Quick edit button is present in all regions except in Content, precisely where it is needed most.

Solutions?

Thanks and best regards

💬 Support request
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇹Italy giordy

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

Comments & Activities

  • Issue created by @giordy
  • 🇳🇱Netherlands tzsl

    The Quick Edit module was deprecated in Drupal 9.5 and removed from core in Drupal 10.

    You have to install the Quickedit module for D 10 as a contrib module

    https://www.drupal.org/project/quickedit

  • 🇮🇹Italy giordy

    The module is correctly installed, works perfectly and is not deprecated in the report.
    The problem, as shown in the image, is the lack of the button: quick edit, configure block, remove block, edit, which is present in all regions but not in Content.
    The problem is in the theme, not in the module.

    Thank you and greetings

  • 🇮🇹Italy giordy

    I add another image so the problem is more evident: the Edit button is missing in the Content region.

  • Status changed to Fixed 7 months ago
  • 🇺🇸United States flashwebcenter Austin TX

    Hello,

    I debugged the issue by comparing the behavior of the Olivero theme with the Solo theme. In Olivero, when viewing a full node, an edit pencil icon appears, but in Solo, it does not. I discovered that in node.twig.html, an if statement checks for content before printing the header tag, and the header is empty in full view mode. The contextual filter is attached to the header regardless of its content. I implemented a workaround using a CSS class to print the header but remove any padding or margin when the header is empty. The changes have been pushed to the dev branch and are now on the demo site.

    Best regards,
    Alaa

  • 🇮🇹Italy giordy

    Thank you. I installed the dev version and now I see the pencil.
    Too bad quick edit doesn't work, but that's another problem.

    Thanks again and regards

  • Assigned to flashwebcenter
  • 🇺🇸United States flashwebcenter Austin TX

    Hello,
    You are welcome, the quick edit is working with me when I view the node.

    Best wishes,
    Alaa

  • Status changed to Fixed 6 months ago
  • 🇺🇸United States flashwebcenter Austin TX
  • 🇺🇸United States flashwebcenter Austin TX
Production build 0.71.5 2024