Currently this is a <input type=text>, the width allowing to show ca. 30-35 characters
Problem
Is ok for 1-2 short classnames
Usability problem: As soon as you have 1 long class name, or 2-3+ average long class names, they won't fit, and you will need to scroll quite uncomfortably to read/correct/append your classnames.
With your arrow keys or the keys to jump to line start/end.
On touch devices even less comfortably move the cursor with long press, then move left/right.
Reproduction
<input type=text>
, the width allowing to show ca. 30-35 charactersProblem
https://github.com/WordPress/gutenberg/assets/737143/922e9dc0-5603-41ee-ad75-285d777c3189
Proposed Improvement
class="string here"
without any issues.