[Typo3] RTE classesImage - how does it work?
Kester Hynds
kester at featherbelly.com
Fri Feb 25 14:39:41 CET 2005
Hi,
I am trying to add the option to select a style for an image inserted
using the RTE (e.g. to float the image left or right, etc). I read the
documentation here http://typo3.org/documentation/document-library/rte/
and under the section '1.2.2 Configuration of the RTE editor interface'
it lists the following for classesImage:
---------------------------------------
Property: classesImage
Data type: list of id-strings
Description: Classes available for images. See description of
'classesCharacter'
---------------------------------------
Following the description for 'classesCharacter' it would lead me to
believe the following syntax should work (or do SOMETHING) when placed
in the Tsconfig of the root page:
---------------------------------------
# General configuration of the available classes:
RTE.classes {
myImageStyle {
name = My Image Style
value = border-width: 1px; float: left;
}
}
# Specific configuration for the Image Style menu(?!?!?!):
RTE.default.classesImage= myImageStyle
---------------------------------------
However this doesn't seem to do anything...
I have noticed a few threads that address this topic - but none seemed
to offer a solution!
Can anyone help...?!
Kester Hynds
--------------------------------------
< < < <<< in a state of flux >>> > > >
More information about the TYPO3-english
mailing list