Skip to content

TINYDOC-3692: Underline applied around subscript or superscript text was drawn at the baseline of the surrounding text instead of under the subscript or superscript text. - #4427

Open
kemister85 wants to merge 1 commit into
feature/8.10.2/TINYDOC-3692from
feature/8.10.2/TINYDOC-3692_TINYMCE-15001
Open

kemister85 wants to merge 1 commit into
feature/8.10.2/TINYDOC-3692from
feature/8.10.2/TINYDOC-3692_TINYMCE-15001

Conversation

@kemister85

@kemister85 kemister85 commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Ticket: TINYDOC-3692 (TINYMCE-15001)

Site: Staging

Changes:

  • Added release note entry for TINYMCE-15001 to modules/ROOT/pages/8.10.2-release-notes.adoc (Bug fixes section): Underline applied around subscript or superscript text was drawn at the baseline of the surrounding text instead of under the subscript or superscript text.

Pre-checks:

  • Branch is correctly prefixed (release-note branch)
  • Build passes without console errors, warnings, or issues.

Review:

  • Documentation Team Lead has reviewed.

…was drawn at the baseline of the surrounding text instead of under the subscript or superscript text.
@kemister85 kemister85 added this to the TinyMCE 8.10.2 milestone Nov 3, 2026
@kemister85 kemister85 added the upcoming release Documentation for features currently under development/QA label Nov 3, 2026
@kemister85
kemister85 requested a review from Comandeer November 3, 2026 01:05
@kemister85
kemister85 marked this pull request as ready for review November 3, 2026 01:05
@kemister85
kemister85 requested review from a team and soritaheng as code owners November 3, 2026 01:05
@kemister85
kemister85 requested review from MitchC1999, ShiridiGandham and tiny-ben-tran and removed request for a team November 3, 2026 01:05
=== Underline applied around subscript or superscript text was drawn at the baseline of the surrounding text instead of under the subscript or superscript text
// #TINYMCE-15001

Previously, when underline and subscript or superscript formatting were combined, {productname} could place the subscript (`+<sub>+`) or superscript (`+<sup>+`) element inside the underline element. Browsers then drew the underline at the baseline of the surrounding text. Under subscript text, the underline appeared only in the gaps between words, as dots in Chrome and as short dashes in Firefox and Safari. Under superscript text, the underline sat below the raised text instead of directly under it. This output did not match how desktop word processors underline subscript and superscript text.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Under subscript text, the underline appeared only in the gaps between words, as dots in Chrome and as short dashes in Firefox and Safari.

Actually, it's a straight line in both cases, it just looks like this when there is a single space between words; if there is more whitespace, it's more visible. Screen from Firefox:

Subscript + underline

I would delete the fragment about differences in browsers and keep only the info about the gaps:

Suggested change
Previously, when underline and subscript or superscript formatting were combined, {productname} could place the subscript (`+<sub>+`) or superscript (`+<sup>+`) element inside the underline element. Browsers then drew the underline at the baseline of the surrounding text. Under subscript text, the underline appeared only in the gaps between words, as dots in Chrome and as short dashes in Firefox and Safari. Under superscript text, the underline sat below the raised text instead of directly under it. This output did not match how desktop word processors underline subscript and superscript text.
Previously, when underline and subscript or superscript formatting were combined, {productname} could place the subscript (`+<sub>+`) or superscript (`+<sup>+`) element inside the underline element. Browsers then drew the underline at the baseline of the surrounding text. Under subscript text, the underline appeared only in the gaps between words. Under superscript text, the underline sat below the raised text instead of directly under it. This output did not match how desktop word processors underline subscript and superscript text.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

upcoming release Documentation for features currently under development/QA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants