enhancement
major
minor
major
minor
minor
#29668
TL Views: the rich-text editor's toolbar overflows a narrow field; table and undo/redo buttons are cut off
Problem
The toolbar of the rich-text (HTML) field editor has a fixed row of buttons of 486 px. In a narrower field it neither wraps nor collapses: at a 780 px viewport the comment composer of the TL Development ticket page is 386 px wide, at 400 px 262 px, and the trailing buttons (table, undo, redo) are clipped and unreachable. Snapshot build 42.
Expected
The editor toolbar collapses like the panel toolbars of #29626 (wrap, or fold the trailing groups into an overflow menu), so every editor command stays reachable at phone width.
Lösung
Die Toolbar des Rich-Text-Editors bricht in weitere Zeilen um, wenn das Feld schmaler ist als ihre natürliche Breite. Umgebrochen wird gruppenweise: Textauszeichnung (fett, kursiv, unterstrichen, durchgestrichen), Überschrift/Listen, Blöcke (Zitat, Code), Einfügen (Link, Bild, Tabelle), die konfigurierten Kommandos des Editors und Verlauf (Rückgängig, Wiederholen). Eine Gruppe bleibt zusammen, und am Zeilenanfang steht keine Trennlinie. So bleibt jeder Befehl mit einem Klick erreichbar, ohne verschachtelte Menüs; die Dropdowns für Überschrift und Listen und das Link-Popover bleiben an ihrer Schaltfläche verankert. Ist die Toolbar der konfigurierten Kommandos allein breiter als eine Zeile, klappt sie nach ihrer eigenen Regel (#29626) zusammen.