Added feature #7875: Coloured text is created using font-tag instead of span in IE
[Packages/TYPO3.CMS.git] / typo3 / sysext / rtehtmlarea / res / style / pageTSConfig.txt
1 # ***************************************************************************************
2 # Default proc options in Page TSconfig for htmlArea RTE formatting with style attribute
3 #
4 # @author       Stanislas Rolland <typo3(arobas)sjbr.ca>
5 #
6 # TYPO3 SVN ID: $Id: pageTSConfig.txt $
7 # ***************************************************************************************
8
9         ## Default RTE processing rules
10 RTE.default.proc {
11
12                 ## ALLOWED P & DIV ATTRIBUTES
13         keepPDIVattribs := addToList(style)
14
15                 ## CONTENT TO DATABASE
16         entryHTMLparser_db {
17                 tags {
18                                 ## CLEAN ATTRIBUTES ON THE FOLLOWING TAGS
19                         span.fixAttrib.style.unset >
20                         span.allowedAttribs = id, title, dir, lang, xml:lang, class, style
21                         p.allowedAttribs := addToList(style)
22                         div < .p
23                         hr.allowedAttribs := addToList(style)
24                         b.allowedAttribs := addToList(style)
25                         bdo.allowedAttribs := addToList(style)
26                         big.allowedAttribs := addToList(style)
27                         blockquote.allowedAttribs := addToList(style)
28                         cite.allowedAttribs := addToList(style)
29                         code.allowedAttribs := addToList(style)
30                         del.allowedAttribs := addToList(style)
31                         dfn.allowedAttribs := addToList(style)
32                         em.allowedAttribs := addToList(style)
33                         i.allowedAttribs := addToList(style)
34                         ins.allowedAttribs := addToList(style)
35                         kbd.allowedAttribs := addToList(style)
36                         label.allowedAttribs := addToList(style)
37                         q.allowedAttribs := addToList(style)
38                         samp.allowedAttribs := addToList(style)
39                         small.allowedAttribs := addToList(style)
40                         strike.allowedAttribs := addToList(style)
41                         strong.allowedAttribs := addToList(style)
42                         sub.allowedAttribs := addToList(style)
43                         sup.allowedAttribs := addToList(style)
44                         tt.allowedAttribs := addToList(style)
45                         u.allowedAttribs := addToList(style)
46                         var.allowedAttribs := addToList(style)
47                 }
48         }
49 }
50
51         ## Use same RTE processing rules in FE
52 RTE.default.FE.proc < RTE.default.proc