[wp-trac] [WordPress Trac] #31162: Prevent device keyboard from displaying after selecting an image in TinyMCE
WordPress Trac
noreply at wordpress.org
Fri Jan 30 08:09:19 UTC 2015
#31162: Prevent device keyboard from displaying after selecting an image in TinyMCE
-------------------------+------------------------------
Reporter: siobhan | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: TinyMCE | Version:
Severity: normal | Resolution:
Keywords: make-flow | Focuses: javascript
-------------------------+------------------------------
Comment (by iseulde):
I'm not sure if we can hide the keyboard. If focus is within the
`contenteditable` area, then the keyboard will automatically open. There's
no way to control this. The only way to hide the keyboard is to move the
focus out of the area, but then we would need to find a way to keep the
image toolbar visible and refocus every time you click a button, and
quickly remove focus again. I'm not sure if this could even work and it's
a big hack with little benefit imho. :) The main problem is that the
browser doesn't allow any control. @azaozz can probably tell us a bit
more.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31162#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list