Skip to content

GHS: Add support for <hr> element #12973

@Mgsy

Description

@Mgsy

📝 Provide a description of the improvement

Currently, it's impossible to use styled <hr> element, as GHS doesn't render it in the editing view, because it is marked as an unsafe element. On the other hand, adding the horizontal line feature enables rendering, but the styling is lost.

This ticket is about adding support for <hr> element in GHS, so it will render in the editing view and keep the original styling.

Example markup:

<hr style="height: 5px;background: teal;margin: 20px 0;box-shadow: 0px 0px 4px 2px rgba(204,204,204,1);">

Related: #9960


If you'd like to see this improvement implemented, add a 👍 reaction to this post.

Metadata

Metadata

Assignees

No one assigned

    Labels

    package:html-supportpackage:stylesquad:coreIssue to be handled by the Core team.support:2An issue reported by a commercially licensed client.type:improvementThis issue reports a possible enhancement of an existing feature.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions