ephox-icon Attribute

Description

This CSS attribute can be used to specify the icon 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-icon and ephox-end-icon attributes. When specifying an icon to represent an empty tag this attribute must be used.

Permitted Values

[url]

A URL which maps to an image which is to be used as the icon for this custom tag. This URL can be either relative or absolute. If relative URLs are specified they are resolved in relation to either the BaseURL (if specified) or the page in which EditLive! for XML is embedded (if the BaseURL is not specified).

Example

The following example specifies the image icons/icon.gif for the start and end tag icons of the custom tag MyTag.

MyTag{
  display: block;
  ephox-icon: url(icons/icon.gif)
}