Trumbowyg editor won't accept click in whole textarea
Describe the bug
In Orchard 1.7.2 and up, most of the area of the trumbowyg and wysiwig editors will not accept a click to focus the input. In previous versions (1.6.0 was the version I upgraded from), clicking anywhere in the editor pane would focus the input, but now, only the current line and one line below the current line accept input. Everywhere else, the cursor is the default cursor rather than the caret that indicates an input field, and clicking does nothing.
To Reproduce
Steps to reproduce the behavior:
- Cook a new Orchard Core 1.8.2 site using the "Agency" recipe
- In the admin panel, go to Content > Content Definition > Content Types, and Edit the Html widget type
- Edit the "Content" HtmlField field and select "Trumbowyg editor" or "Wysiwig editor" for "What type of editor should be used?"
- On the Design > Widgets page, add an Html Widget
- Attempt to click on the bottom half of the editor pane for the "Content" field and notice that the input does not receive focus
Expected behavior
The entire editor pane of the trumbowyg editor should accept a click to focus the input.
These are two separate issues. Could you please split the dark mode one out to a new issue?
The click behavior I'm pretty sure is related to a Trumbowyg update. We use 2.28.0, but the demo page on https://alex-d.github.io/Trumbowyg/, using 2.27.3, doesn't show this behavior.
@Piedone I split out the dark mode issue into #16137 and updated the comment/title for this issue to remove references to the styling bug.
Thank you!