标签周围的标签
Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我与 RTE 合作,让我很生气的是 RTE 确实将标签包裹<p>在标签周围<img>。我该怎么做才能使 RTE 不将标签包裹<p>在标签周围<img>?
<p>
<img>
在您的 PageTSConfig 中是这样的
RTE.default.proc.allowTagsOutside = img,hr
或者
RTE.default.proc.allowTagsOutside := addToList(img)
如果您还想要以前的设置和 img