Add generic class to TR element that wraps paragraph bundles on node forms

Created on 2 June 2021, over 3 years ago
Updated 2 October 2023, about 1 year ago

The work in issue #2734303 added helpful paragraph-type--{{ bundle }} classes to the TR element that wraps paragraphs on node forms. But it's still cumbersome to apply styles to all the paragraphs on a node form.

You currently have to write your CSS to target every paragraph bundle that you know about, and update the CSS if new bundles are added. Or maybe you could use a more complicated class selector like tr[^class=paragraph-type--].

It would be simpler to have a generic class on the wrapping element, like paragraph-paragraph, to keep any CSS clean and simple.

πŸ“Œ Task
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States aasarava

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.

Production build 0.71.5 2024