Hi Viktor,
Sorry, when I try to add these configuration, the block style and text-style is
disabled in backed.
When I select a text to add a class, the block style and text style is inactive.
I've changed my configuration like this;
RTE.classes {
bluehead {
name = Blue Head
}
}
RTE.default {
showButtons = *
ignoreMainStyleOverride = 1
showTagFreeClasses = 1
useCSS = 1
contentCSS = fileadmin/templates/css/rte.css
classesParagraph := addToList(bluehead)
buttons.blockstyle.tags.p.allowedClasses = bluehead
buttons.blockstyle.tags.div.allowedClasses = bluehead
}
Is there any mistake? Please help me.
Regards,
Arun Chandran
________________________________
From: Viktor Livakivskyi <[email protected]>
To: [email protected]
Sent: Monday, September 9, 2013 4:08 PM
Subject: [TYPO3-english] Re: custom class in RTE - Typo3 6.1.3
Hi,
> RTE.default.classesParagraph := addToList(lead)
There is no more such an option in RTE. Instead you should use:
RTE.default.buttons.blockstyle.tags.p.allowedClasses = lead
You may use any tag, instead of 'p', so f.e. if you want same class be
applicable for all div-tags, you should add as well:
RTE.default.buttons.blockstyle.tags.div.allowedClasses = lead
_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english