从边框内容区域添加3个不同的内容区域以显示前端。每次此内容将包装<div id="c8" class="csc-default"> aaaa </div><div id="c9" class="csc-default"> aaaa </div> <div id="c10" class="csc-default"> aaaa </div>
简单我希望它在像<div id="c8" class="colContent"> my content 1 </div> <div id="c9" class="colContent"> my content 2 </div> <div id="c10" class="colContent"> my content 3 </div>
或
<div id="c8" class="csc-default colContent"> my content 1 </div><div id="c9" class="csc-default colContent"> my content 2 </div><div id="c10" class="csc-default colContent"> my content 3 </div>'
如何包装我想要的内容
答案 0 :(得分:0)
我不确定那是不是你要找的东西,但你有没有试过这样的东西?
# Append another wrap to the content elements
tt_content.stdWrap.innerWrap.cObject.default.20.40 = CASE
tt_content.stdWrap.innerWrap.cObject.default.20.40 {
key.field = colPos
# If nothing other colPos case is set below
default = TEXT
default.value = colDefault
default.noTrimWrap = | ||
# 10 is in this case the colPos 10 set in the BackendLayout or else
10 < .default
10.value = colContent_1
# 11 is in this case the colPos 10 set in the BackendLayout or else
11 < .default
11.value = colContent_2
}