Bug #84987
Updated by Sybille Peters over 6 years ago
With the old rtehtmlarea broken links (at least page links which linked to not existing page) where displayed differently with a red border and yellow background. !links.png! The If using ckeditor, the broken links are apparently already marked with an additional attribute (see RteHtmlParser::markBrokenLinks): attribute: <pre><code class="html"> <a <p><a data-rte-error="Page with ID 5555555 not found" href="t3://page?uid=5555555">page link</a> link</a></p> </code></pre> If css for <a> elements with this attribute are added in the contents.css in rte_ckeditor, the broken links could be visually displayed as broken links. The style that is added in markBrokenLinks is probably removed by ckeditor. Also, it seems like a better solution to do this in css (which is also configurable in rte_ckeditor via Yaml).