The Quick Edit module requires the content region to have the class region-content, however Zen does not print wrappers for the content region so that class is not there.

Is it something you would consider to support it or is it up to those implementing sub themes?

Comments

johnalbin’s picture

Version: 7.x-5.x-dev » 7.x-6.x-dev

Modules that depend on CSS class names are brittle.

rooby’s picture

Issue summary: View changes

I agree and I think this should be handled in that module, with an option to set the wrapper element selector or something.

rooby’s picture

I opened an issue at #2449293: Allow configuration of the region-content selector to see if they are willing to address this on their end.

Also worth noting here for reference is this entry from the module's README.txt FAQ section:

Q: The status report says "The content region class is missing". How do I
fix this?
A: Your theme is stripping either just the "region-content" class on the
"content" region wrapper, or it is stripping that wrapper entirely. Edit
depends on this.
E.g. the Zen theme does this by default. Drupal user loopduplicate has posted
a work-around, see https://drupal.org/comment/8310077#comment-8310077 and
https://drupal.org/comment/8310093#comment-8310093.

johnalbin’s picture

Status: Active » Closed (won't fix)

Thanks, rooby!