Review 14.3 Merged

96248[BUGFIX] Keep paragraphs with embedded media when saving RTE content

Benni Mack CR +2 V +2 Easy +43 −3 updated 10/01/26, 07:24

Commit message

When persisting RTE content, a paragraph containing only a " "
besides its tags is considered blank and emptied. Only an image was
considered content, so a paragraph like

  <p>&nbsp;<audio><source src="…" /></audio></p>

was removed completely. This affects installations which allow
media tags in the RTE processing configuration, as these tags are
not part of the allowed tags by default.

Embedded content like picture, source, audio, video, iframe, embed,
object, svg and canvas is now considered content as well.

Review

  • Code review CR +2 Done
    • Benni Mack +2
  • Verified V +2 Done
    • Benni Mack +2
    • core-ci +1 CI

Issues 1

Files 2

Review log 58

  1. Benni Mack commented on patch set 1 10/01/26, 06:20

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V -1 10/01/26, 06:35 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/109752

  3. Benni Mack commented on patch set 2 V -1 10/01/26, 06:46

    Published edit on patch set 1.
  4. core-ci voted on patch set 2 V -1 10/01/26, 06:54 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/109753

  5. Benni Mack commented on patch set 3 V -1 10/01/26, 07:07

    Published edit on patch set 2.
  6. core-ci voted on patch set 3 V +1 10/01/26, 07:15 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/109755

  7. Benni Mack voted on patch set 3 CR +2 V +2 10/01/26, 07:24

  8. Benni Mack merged patch set 4 10/01/26, 07:24