"Lifting" of data- attributes from a field to its containing "view cell" ([quick]edit.module integration)

Created on 3 June 2013, over 11 years ago
Updated 23 June 2023, over 1 year ago

(This is the result of a discussion we had at DrupalCon Portland.)

Views' "disable field default class" option strips all markup and hence breaks in-place editing. Apparently this is a commonly used feature, and would thus make in-place editing within views appear very broken wherever it is used.

There is a solution to that: "lifting" of data- attributes to the "cell" (depending on the style plugin (format): <td>, <li> …). Then Edit will have sufficient metadata to still allow for for in-place editing as long as fields are not merged (in that case, lifting should only happen for the first field?).

Related issues

This issue blocks #1962606: Quick Edit + "Field" Views (table, grid …) .

Feature request
Status

Closed: outdated

Version

11.0 🔥

Component
Views UI 

Last updated 17 days ago

Created by

🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

Live updates comments and jobs are added and updated live.
  • VDC

    Related to the Views in Drupal Core initiative.

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 smustgrave

    Brought this up in #yes-no-queue and agreed with @larowlan this can probably be closed out with inactivity.

    If still a valid feature request please reopen updating issue summary for how it pertains to D10

    Thanks!

Production build 0.71.5 2024