<mailtolink> Element

This element allows for the specification of a single e-mail address that the end users of Ephox EditLive! for Java will be provided with via the Insert Hyperlink dialog.

Element Tree Structure

<editLiveForJava>
    <hyperlinks>
        <mailtoList>
            <mailtolink>

<editLiveForJava>
     ...
     <hyperlinks>
          ...
          <mailtoList>
               <mailtolink ... />
          </mailtoList>
     </hyperlinks>
     ...
</editLiveForJava>

Required Attributes

Attribute Description
href This attribute defines the e-mail address for the mailto link.

Optional Attributes

Attribute Description
description This attribute specifies the description used for the mailto link in the Insert Hyperlink dialog within EditLive! for Java.

Example

The following example demonstrates how to specify an e-mail address to provide the end users of EditLive! for Java with.

<editLiveForJava>
    ...
    <hyperlinks>
        ...
        <mailtoList>
            <mailtolink href="someone@mailserver.com" description="This is a mailto link" />
        </mailtoList>
    </hyperlinks>
    ...
</editLiveForJava>

Remarks

The <mailtolink> element can appear multiple times within the <mailtoList> element.

The <mailtolink> element must be a complete tag, it cannot contain a tag body.  Therefore the tag must be closed in the same line.  See the example below:

    <mailtolink href=... />

See Also