[TASK] Organize TSconfig structure
[Packages/TYPO3.CMS.git] / typo3 / sysext / rtehtmlarea / Configuration / PageTSconfig / Style / pageTSConfig.txt
1 # ***************************************************************************************
2 # Default proc options in Page TSconfig for htmlArea RTE formatting with style attribute
3 # ***************************************************************************************
4
5         ## Default RTE processing rules
6 RTE.default.proc {
7
8                 ## ALLOWED P & DIV ATTRIBUTES
9         keepPDIVattribs := addToList(style)
10
11                 ## CONTENT TO DATABASE
12         entryHTMLparser_db {
13                 tags {
14                                 ## CLEAN ATTRIBUTES ON THE FOLLOWING TAGS
15                         span.fixAttrib.style.unset >
16                         span.allowedAttribs := addToList(style)
17                         p.allowedAttribs := addToList(style)
18                         div < .p
19                         hr.allowedAttribs := addToList(style)
20                         b.allowedAttribs := addToList(style)
21                         bdo.allowedAttribs := addToList(style)
22                         big.allowedAttribs := addToList(style)
23                         blockquote.allowedAttribs := addToList(style)
24                         cite.allowedAttribs := addToList(style)
25                         code.allowedAttribs := addToList(style)
26                         del.allowedAttribs := addToList(style)
27                         dfn.allowedAttribs := addToList(style)
28                         em.allowedAttribs := addToList(style)
29                         i.allowedAttribs := addToList(style)
30                         ins.allowedAttribs := addToList(style)
31                         kbd.allowedAttribs := addToList(style)
32                         label.allowedAttribs := addToList(style)
33                         q.allowedAttribs := addToList(style)
34                         samp.allowedAttribs := addToList(style)
35                         small.allowedAttribs := addToList(style)
36                         strike.allowedAttribs := addToList(style)
37                         strong.allowedAttribs := addToList(style)
38                         sub.allowedAttribs := addToList(style)
39                         sup.allowedAttribs := addToList(style)
40                         tt.allowedAttribs := addToList(style)
41                         u.allowedAttribs := addToList(style)
42                         var.allowedAttribs := addToList(style)
43                 }
44         }
45 }
46
47         ## Use same RTE processing rules in FE
48 RTE.default.FE.proc < RTE.default.proc