ephox-label Attribute

Description

This CSS attribute can be used to specify the label used for a custom tag. If using this attribute with either block or inline tags then it should be used instead of the ephox-start-label and ephox-end-label attributes. When specifying an label to represent an empty tag this attribute must be used.

Permitted Values

[label]

A label to be used with the start and end tags of a custom tag.

Example

The following example specifies the label Custom Tag for the start and end tag labels of the custom tag MyTag.

MyTag{
  display: block;
  ephox-label: Custom Tag
}