---
title: "Feature: #84990 - Mark broken file links in RTE"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:feature-84990"
source: "Changelog/10.2/Feature-84990-MarkBrokenFileLinksInRTE.rst"
typo3-version: "10.2"
typo3-major: 10
type: "feature"
issue: 84990
forge: "https://forge.typo3.org/issues/84990"
tags: ["RTE", "ext:linkvalidator"]
rendered: "2026-09-20T18:31:11+00:00"
---

# Feature: #84990 - Mark broken file links in RTE {#feature-84990}

See [forge#84990](https://forge.typo3.org/issues/84990)

## Description {#description}

Links to files that were detected as broken by the system extension
`linkvalidator` are now marked accordingly in the RTE via
`\TYPO3\CMS\Core\Html\Event\BrokenLinkAnalysisEvent`.

Those links are now marked with extra markup (yellow background with
red border) in RTE.

The procedure for marking the broken links in the RTE is as follow:

1.  RTE content is fetched from the database. Before it is displayed in
    the edit form, RTE transformations are performed.
1.  The transformation function parses the text and detects links.
1.  For each link, a new PSR-14 event is dispatched.
1.  If a listener is attached, it may set the link as broken and will set
    the link as "checked".
1.  If a link is detected as broken, RTE will mark it as broken.

The implementation for checking file links is supplied by the system
extension `linkvalidator`.

Other extensions can use the event to override the default behaviour.

## Impact {#impact}

The behaviour stays the same as before unless the system extension `linkvalidator`
is installed.

If `linkvalidator` is installed and regularly checks for broken file links, those
links will be marked in the RTE.

If `linkvalidator` is used, it is recommended to use the scheduler to regularly
check for broken links.
