This is indeed the default style, so you need to explicitly add CSS. For example:

.mceContentBody a {
  color: #ff0000 !important;
  text-decoration: blink !important;
}

Thanks Rainer, it's working now.

I just used /*!important */keyword in my CSS which overrides the default behavior of anchor.


Rainer Schöpf wrote:
On Tue, 16 Jun 2009 at 21:11 +0530, Anish wrote:

 > I've integrated TinyMCE (v2.1.2) in my Lenya 2.0.2 application. The editor
 > works fine in the CMS area but in the case of anchor tags, the color of <a>
 > appears blue (like default style of anchor tag, underlined and blue in color)
 > in the editor.

This is indeed the default style, so you need to explicitly add CSS. For example:

.mceContentBody a {
  color: #ff0000 !important;
  text-decoration: blink !important;
}

will make anchors red and blinking (ugly but good for demonstration).

You can either add this to the publications global
  <pub-id>/resources/shared/css/page.css

file, or use the mechanism in TinyMCE:

   http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/content_css

  Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



--
Anish Sneh
Software Engineer
Techblue Softwares Pvt. Ltd.
www.technologyblueprint.co.uk



Reply via email to