我需要在RTE中插入此代码:
<div class="1">1
<span class="2">2
<div class="3">3
</div>
</span>
</div>
再一次,代码内部,而不是视觉风格。但输出总是如下所示:
<div class="1">1
<span class="2">
<span class="2">2
</span>
</span>
<div class="3">3
</div>
</div>
由于与响应式布局相关的原因,结构是这样的。
RTE配置(部分)
image_advtab: true,
image_dimensions: false,
cleanup_on_startup: false,
cleanup : false,
trim_span_elements: false,
verify_html: false,
keep_styles: false,
valid_children : " +a[h1|h2|h3|h4|h5|h6|p|#text|span|div|noscript], +span[a|h1|h2|h3|h4|h5|h6|p|#text|span|div|noscript], +div[a|h1|h2|h3|h4|h5|h6|p|#text|span|div|noscript]",
visualblocks_default_state: false,
forced_root_block: false,
force_br_newlines: true,
force_p_newlines: false,
remove_linebreaks: false,
apply_source_formatting : false,
我已尝试删除所有自动格式,并且我已尝试过各种RTE配置,但它无效。