Open francisbarton opened 3 years ago
Confirmed.
Note that the easiest way to reproduce this is to install the Classic Widgets plugin, add a Custom HTML widget, then deactivate the Classic Widgets plugin and browse to Appearance → Widgets.
It looks like it might be an issue with CSS cascading.
Description
When editing a Custom HTML block*, the HTML is hard to read and work with because the line numbers are overlapping. Also, the left edge of the HTML is not visible. (See screenshot). There is a vertical scrollbar but no horizontal scrollbar.
Furthermore, (a separate issue) when I select a line of HTML and intend to Cut and Paste it elsewhere in the HTML, as soon as I use Ctrl+X to Cut, the whole widget gets removed rather than just the selected text!
I have had to resort to editing the HTML in an external editor. This issue is arising for me, using Firefox 94 on Windows 10.
*actually in Appearance > Widgets not in a Post or Page
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Environment info
WordPress 5.8.1, Gutenberg version ???, theme - custom Browser - Firefox 94, on desktop Windows 10, viewport size ~ 1920x1200
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
No