Problem/Motivation

The .content selector is used to apply styling to content such as text. From the documentation:

This content class can be used in any context where you just want to (or can only) write some text.

Currently content such as text in text fields does not receive this class and therefore is not styled accordingly. For example, it doesn't have appropriate spacing between paragraphs.

Proposed resolution

Add field templates for text fields that extend the base field template and add the content class.

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#2 bulma-content-2902738-2.patch1.39 KBnedjo

Comments

nedjo created an issue. See original summary.

nedjo’s picture

Status: Active » Needs review
Related issues: +#2539860: Add a class to field that contain user-generated formatted text
StatusFileSize
new1.39 KB

  • nedjo committed d61f98d on 8.x-1.x
    Issue #2902738 by nedjo: Add .content class to wrapper element of text...
nedjo’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.