Richtext settings output prints p tag and shows on page

This richtext element renders to:

ThomKnepper_1-1628017762930.png

While all my other richtext blocks render normally like:

The code for the first one looks like:

{
            "type": "subtitle",
            "name": "Subtag",
            "limit": 1,
            "settings": [
                {
                "type": "richtext",
                "id": "email_subtitle_text",
                "default": "

Subtitle

",
                "label": "Subtitle",
                "info": "Subtitle"
                }
            ]
        },

and the second looks like:

{
            "type": "testamony",
            "name": "Testamony",
            "limit": 3,
            "settings": [
                {
                "type": "richtext",
                "id": "testamony_text",
                "default": "

Testamony text

",
                "label": "Testamony text",
                "info": "Add short client testamony"
                }
            ]
}

Why doesnt the subtitle work?

1 Like