Page tree
Skip to end of metadata
Go to start of metadata

This element allows developers to specify a single color to be displayed in the color chooser used by EditLive!.

Configuration Element Tree Structure

<editLive>
<wysiwygEditor>
<colorPalette>
<color>

<editLive>
   ...
   <wysiwygEditor>
      ...
      <colorPalette>
         <color />
      </colorPalette>
      ...
   </wysiwygEditor>
   ...
</editLive>

Required Attributes

name

This attribute defines a color to display in the color chooser. The value specified by this attribute needs to be the hexadecimal representation for the desired color (e.g. name="#FF0000").

Example

The following example depicts adding the colors red, blue and yellow to the color chooser used by EditLive!:

<editLive>
   ...
   <wysiwygEditor>
      <colorPalette>
         <color name="#FF0000" />
         <color name="#0000FF" />
         <color name="#FFFF00" />
      </colorPalette>
   </wysiwygEditor>
   ...
</editLive>

Remarks

The <color> element can appear any amount of times within the <colorPalette> element.

  • No labels