gpt4 book ai didi

tinymce - 将样式应用于 TinyMCE 中的父元素

转载 作者:行者123 更新时间:2023-12-04 03:49:00 25 4
gpt4 key购买 nike

如果它有一个 a-tag 子标签,我需要将一个类添加到 p-tag,如下所示:

<p class="read-more-link">
<a href="#">Link</a>
</p>

我尝试了以下但没有成功(这是 EPiServer 中的 C#):

new {title="Read more link", selector="p", classes="read-more-link" } // this allows user to add class to any p
new {title="Read more link", selector="p > a", classes="read-more-link" } // this adds class to a tag
new {title="Read more link", selector="p > a", classes="read-more-link", wrapper="true" } // this does nothing
new {title="Read more link", selector="p > a", block="p", classes="read-more-link", wrapper="true" } // this does nothing
new {title="Read more link", selector="a", block="p", classes="read-more-link", wrapper="true" } // this does nothing

有人知道怎么解决吗?

最佳答案

关于tinymce - 将样式应用于 TinyMCE 中的父元素,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64716721/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com