Generally, the content element div looks like this
<div id="c286" class="csc-default"></div>
Below typoscript helps to add custom class to content element div's to look like below
<div id="c286" class="block csc-default"></div>
The typoscript is
tt_content.stdWrap.innerWrap.cObject.default.20.5 = TEXT
tt_content.stdWrap.innerWrap.cObject.default.20.5 {
value = block
noTrimWrap = || |
}
This way we can preserve the default class like "csc-default" with our new class.
Below is the actual output