由于AEM RTE样式仅适用于预定义类,我们如何将动态样式添加到页面的一部分。就像我想做这样的事情,但它在第一个之后剥离了style属性中的任何东西。就像div风格一样,只保留背景,并剥离其他属性。
<div style="background: #f4f4f4 ; border: 2 ; padding: 15 15 15 15 ; box-shadow: 5px 5px #a79d97 ; border-radius: 8px;">
<h3>
<span class="large">Managing Support Contacts and Account Access within XXX from April 19th !!</span>
</h3>
<p>We are excited to release an update to XXX to help Support Administrators manage the support contacts who have access to their accounts. This new tab will enable access permissions for each contact.</p>
<p>
<span class="btn" style="background: #213c60; color: white; border: 1;">Show Me More</span>
</p>
</div>