[TYPO3-RTE] HTMLArea 1.7.5 and colors

Chris chris at oblady.com
Thu Aug 14 12:11:20 CEST 2008


Hello list  :-)

I recently installed Typo3 4.2.1 with HTMLArea 1.7.5 and I have a new 
problem :

I define colors, like this (example) :

RTE.default.disableColorPicker = 1
RTE.colors {
  color1 {
   name= Color 1
   value = #CFE288
  }
  color2 {
   name= Color 2
   value = #76855B
  }
  color3 {
   name= Color 3
   value = #8D8B35
  }
}

My problem is : when I use the textcolor button, it seems that it 
inserts a font tag, which isn't OK

I added this parameter :

RTE.default.useCSS = 1

then my problem is partially solved, the color button now inserts tags like
<span style="color:rgb(...)">


but now when I use bold or italic buttons it also adds span tags, which 
isn't correct

-------------------------------------------------------------------

My question is : is there anyway to insert colors with a span tag while 
keeping the RTE insert b/strong and i/em tags ?

Thanx,


Chris


More information about the TYPO3-project-rte mailing list