From 158727d2638032094dd813e92dc147e9041d669f Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Fri, 27 Nov 2026 13:14:15 +1000 Subject: [PATCH] TINYDOC-3706: Toggling underline or strikethrough on subscript or superscript text inside a `code` element left empty `code` elements behind, which added extra whitespace around the text. --- modules/ROOT/pages/8.11.1-release-notes.adoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/ROOT/pages/8.11.1-release-notes.adoc b/modules/ROOT/pages/8.11.1-release-notes.adoc index 027e5fb13f..3f91254160 100644 --- a/modules/ROOT/pages/8.11.1-release-notes.adoc +++ b/modules/ROOT/pages/8.11.1-release-notes.adoc @@ -160,6 +160,13 @@ For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-a // CCFR here. +=== Toggling underline or strikethrough on subscript or superscript text inside a `+code+` element left empty `+code+` elements behind, which added extra whitespace around the text. +// #TINYMCE-15190 + +Previously, when a user selected subscript or superscript text inside inline code formatting and toggled underline or strikethrough, {productname} split the `++` element around the selected text and left an empty `++` element behind each time. Because `++` elements have padding by default, each empty element added extra whitespace around the text while editing. Content retrieved from the editor did not include this extra whitespace. + +In {productname} {release-version}, {productname} removes the empty elements that remain after splitting formatted elements around the selection. Toggling underline or strikethrough on selected subscript or superscript text inside a `++` element no longer adds whitespace around the text. + [[security-fixes]] == Security fixes