Problem/Motivation

Even if you change the display value of the header level, the output is still an h3

Steps to reproduce

1. create a content type with an iframe field
2. in the form display settings, choose a value other than h3
3. create a node with an iframe with a title
4. view the node on the front end - the title element is an h3

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork iframe-3601288

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

malcomio created an issue. See original summary.

malcomio’s picture

Status: Active » Needs review
vinodhini.e’s picture

Hi, I tested this issue on Drupal 10.6.10 and was able to reproduce it. The header level setting configured in the field display settings was not reflected on the frontend, and the title was always rendered as an h3 element.

I then applied patch #28 and tested again. After applying the patch, the configured header level was correctly reflected on the frontend. Changes made in the field display settings are now rendered as expected.

Thanks.

  • smustgrave committed a5a3d077 on 3.0.x
    fix: #3601288 Header level setting is ignored
    
    By: malcomio
    
smustgrave’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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