Updated: Comment #0

Problem/Motivation

Most problems with the D7 backport of Edit in version 1.0 RC1 are related to theme compatibility. Certain themes, including Omega and Zen, have as few wrapper divs as possible, to have cleaner markup. Including the <div class="region region-content"></div> wrapper… which Edit's JS relies upon for one edge case.

With extremely high probability, this will also become a problem in D8 for such themes.

Proposed resolution

In Drupal 7, this was solved by stopping to rely on the presence of the content region wrapper, and instead inject "start" and "end" markers for the content region.

Hat tip to fubhy — Omega maintainer — for coming up with this alternative!

Remaining tasks

Forward port #2178103: Stop requiring a content region wrapper + "region-content" class for maximum theme compatibility. But only do this after Edit 1.0 RC2 is released and users confirm that the problem is gone.

User interface changes

None.

API changes

None.

Comments

catch’s picture

Issue tags: -revisit before beta

This could happen any time, or if not it needs bumping priority.

xjm’s picture

Component: edit.module » quickedit.module
mgifford’s picture

Status: Postponed » Active

It's not waiting on Edit any more https://www.drupal.org/project/edit right?

And as catch says, this could happen at any time.

Wim Leers’s picture

Title: Edit should support "lean markup" themes in Drupal 8 » Quick Edit should support "lean markup" themes in Drupal 8
Assigned: Wim Leers » Unassigned

No, this is just blocked on somebody taking this on. It's a small issue that's been lingering for a long time. I'll probably do this eventually, but my focus now lies in other parts of Drupal core than Quick Edit.

mgifford’s picture

Ok, often items that are postponed are just ignored in the queue as there are so many other issues that are marked active.

Unless there's a specific thing it's postponed on, best to leave it active I think so that someone knows they could pick it up and work on it.

Wim Leers’s picture

You're absolutely right. IDK why I marked it as postponed anymore. My bad.

mgifford’s picture

It is pretty common.. I've been doing some gardening to try to clean it up a bit.. Made some mistakes, but...

Gardening the issue queue is a good role to encourage for the drupal community.

Wim Leers’s picture

Definitely!

Wim Leers’s picture

Title: Quick Edit should support "lean markup" themes in Drupal 8 » Document the requirements for themes for Quick Edit to work in/with them
Related issues: +#2407739: Remove classes from system templates r*.html.twig, +#2568099: Follow-up for #2407739: Remove the js-quickedit-main-content class that was added in favor of relying on <main>

#2407739: Remove classes from system templates r*.html.twig introduced a more permanent solution for all themes, one which #2568099: Follow-up for #2407739: Remove the js-quickedit-main-content class that was added in favor of relying on <main> is trying to improve/simplify further.

Therefore all that remains is documentation.

Wim Leers’s picture

Version: 8.0.x-dev » 8.1.x-dev

Drupal 8.0.6 was released on April 6 and is the final bugfix release for the Drupal 8.0.x series. Drupal 8.0.x will not receive any further development aside from security fixes. Drupal 8.1.0-rc1 is now available and sites should prepare to update to 8.1.0.

Bug reports should be targeted against the 8.1.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.1.x-dev » 8.2.x-dev

Drupal 8.1.9 was released on September 7 and is the final bugfix release for the Drupal 8.1.x series. Drupal 8.1.x will not receive any further development aside from security fixes. Drupal 8.2.0-rc1 is now available and sites should prepare to upgrade to 8.2.0.

Bug reports should be targeted against the 8.2.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.6 was released on February 1, 2017 and is the final full bugfix release for the Drupal 8.2.x series. Drupal 8.2.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.3.0 on April 5, 2017. (Drupal 8.3.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.3.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.6 was released on August 2, 2017 and is the final full bugfix release for the Drupal 8.3.x series. Drupal 8.3.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.4.0 on October 4, 2017. (Drupal 8.4.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.4.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.4 was released on January 3, 2018 and is the final full bugfix release for the Drupal 8.4.x series. Drupal 8.4.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.5.0 on March 7, 2018. (Drupal 8.5.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.5.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.6 was released on August 1, 2018 and is the final bugfix release for the Drupal 8.5.x series. Drupal 8.5.x will not receive any further development aside from security fixes. Sites should prepare to update to 8.6.0 on September 5, 2018. (Drupal 8.6.0-rc1 is available for testing.)

Bug reports should be targeted against the 8.6.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.6.x-dev » 8.8.x-dev

Drupal 8.6.x will not receive any further development aside from security fixes. Bug reports should be targeted against the 8.8.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.9.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.7 was released on June 3, 2020 and is the final full bugfix release for the Drupal 8.8.x series. Drupal 8.8.x will not receive any further development aside from security fixes. Sites should prepare to update to Drupal 8.9.0 or Drupal 9.0.0 for ongoing support.

Bug reports should be targeted against the 8.9.x-dev branch from now on, and new development or disruptive changes should be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.9.x-dev » 9.2.x-dev

Drupal 8 is end-of-life as of November 17, 2021. There will not be further changes made to Drupal 8. Bugfixes are now made to the 9.3.x and higher branches only. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.2.x-dev » 9.3.x-dev
Spokje’s picture

Project: Drupal core » Quick Edit
Version: 9.3.x-dev » 1.0.x-dev
Component: quickedit.module » Code

Due to Quickedit being moved out of Drupal Core and into a Contrib Module, moving this issue to the Contrib Module queue.