Richtext settings output prints p tag and shows on page

ThomKnepper
New Member
1 0 0

ThomKnepper_0-1628017696748.png

This richtext element renders to:

ThomKnepper_1-1628017762930.png

 

While all my other richtext blocks render normally like:

ThomKnepper_2-1628017816168.png

 

ThomKnepper_3-1628017833516.png

 

The code for the first one looks like:

{
            "type": "subtitle",
            "name": "Subtag",
            "limit": 1,
            "settings": [
                {
                "type": "richtext",
                "id": "email_subtitle_text",
                "default": "<p>Subtitle</p>",
                "label": "Subtitle",
                "info": "Subtitle"
                }
            ]
        },

 

and the second looks like:

{
            "type": "testamony",
            "name": "Testamony",
            "limit": 3,
            "settings": [
                {
                "type": "richtext",
                "id": "testamony_text",
                "default": "<p>Testamony text</p>",
                "label": "Testamony text",
                "info": "Add short client testamony"
                }
            ]
}

 

Why doesnt the subtitle work?

0 Likes