Project

General

Profile

Actions

Bug #84987

closed

Add css style for broken page links in ckeditor

Added by Sybille Peters over 6 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Should have
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2018-05-12
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

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. This is no longer working with ckeditor.

The broken links are apparently already marked with an additional attribute (see RteHtmlParser::markBrokenLinks):

<a data-rte-error= ...

If CSS for <a> elements with this attribute are added in the rte_ckeditor, the broken links could be visually displayed as broken links.

The style ('background-color: yellow; border:2px red solid; color: black;') that is added in RteHtmlParser::markBrokenLinks is probably removed by ckeditor.


Files

links.png (22 KB) links.png Sybille Peters, 2018-05-12 20:37

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Feature #84990: Check for other broken link types in RteHtmlParserClosedSybille Peters2018-05-12

Actions
Related to TYPO3 Core - Task #85007: Remove setting style for broken links in RteHtmlParser::markBrokenLinksClosedSybille Peters2018-05-15

Actions
Actions

Also available in: Atom PDF