[wp-trac] [WordPress Trac] #30817: wpview: Delegate focus to opened modal on edit
WordPress Trac
noreply at wordpress.org
Mon Dec 22 19:42:05 UTC 2014
#30817: wpview: Delegate focus to opened modal on edit
-----------------------------+--------------------------------------
Reporter: danielbachhuber | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: TinyMCE | Version:
Severity: normal | Keywords: needs-patch dev-feedback
Focuses: |
-----------------------------+--------------------------------------
Shortcake (Shortcode UI) uses wpviews to preview a rendered shortcode in
TinyMCE. It offers a Backbone-based modal for editing shortcode
attributes.
When a user clicks the wpviews edit icon though, the focus remains on the
editor, instead of being delegated to the modal. The behavior was added in
r29298: https://core.trac.wordpress.org/browser/trunk/src/wp-
includes/js/tinymce/plugins/wpview/plugin.js#L334
It would be nice if we could delegate focus to the modal:
https://github.com/fusioneng/Shortcake/issues/66
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30817>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list