Skip to content

Ignore a HTML snippet within the flow #2

Description

@johnblackshaw

Often there is a need to have a static snippet of HTML at the start and end of a content flow. Currently these are placed before the content flow and after the content flow, but specifically outside of the content flow. This raises issues with regards to CSS formatting as we can no longer use the next element selector in CSS to format spacing between common snippets/components.

Can we look at adding the ability to ignore a static HTML snippet added in the template within the flow by applying a data attribute to it (e.g. data-cf-snippet-ignore), which tells the editor to ignore that snippet?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions