[wp-trac] [WordPress Trac] #43039: Resize capability missing from Custom HTML widget
WordPress Trac
noreply at wordpress.org
Mon Jan 8 00:02:47 UTC 2018
#43039: Resize capability missing from Custom HTML widget
--------------------------+-----------------------------
Reporter: paultukey | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Widgets | Version: 4.9.1
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
I'm using WordPress 4.9.1 with the theme Prolio 2.6.1
I had fallen behind in updating and just updated to current versions.
I'm using Text widgets on my homepage, and the text widget editor used to
allow both vertical and horizontal resizing by dragging the resize icon in
the lower-right corner.
Now I can only resize Text widgets vertically!
I also started using the Custom HTML widget, as recommended.
But the Custom HTML widget is not showing a corner resize icon at all so I
cannot resize it, and it is a small rectangular editing pane with a larger
font than before, and very awkward to use (although it would be wonderful
if I could enlarge it).
I used Firefox's Tools > Web Developer > Inspector to find the CSS for the
editing window:
<div id="widget-63_custom_html-2" class="widget open" style="z-index:
100; margin-left: -88px;">
...
<div class="widget-inside">
...
<form method="post">
...
<div class="custom-html-widget-fields">
...
<p>
...
<div class="CodeMirror cm-s-default CodeMirror-wrap">
I find that I can change that last line to:
<div class="CodeMirror cm-s-default CodeMirror-wrap" style="resize: both;
overflow-x: auto; overflow-y: hidden;">
and that enables the bidirectional resize corner that I need!
But of course that only affects the running instance. I have no idea how
to tweak the code so that change becomes the default.
Before I look into creating my own customized version of the Custom HTML
editor, I'm wondering whether this very minor change could be incorporated
into the next release of these tools, so I don't have to do that work
myself, and so other people can benefit from it.
I don't actually know whether this is a request for the WP team or the
Prolio team, so I'm starting with the WP team.
Thanks for your consideration,
-- Paul Tukey paul.tukey at gmail.com
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43039>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list