[wp-trac] [WordPress Trac] #41158: Increase tinymce panel z-index
WordPress Trac
noreply at wordpress.org
Sun Jul 2 23:37:33 UTC 2017
#41158: Increase tinymce panel z-index
-----------------------------------+-------------------------
Reporter: greuben | Owner: azaozz
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.8.1
Component: Customize | Version: 4.8
Severity: normal | Resolution:
Keywords: has-patch fixed-major | Focuses: javascript
-----------------------------------+-------------------------
Comment (by azaozz):
Replying to [comment:8 westonruter]:
> I think @greuben's solution would work, but I don't think it should go
inside of `wp.editor.getDefaultSettings`, as adding side-effects to that
function doesn't seem the best.
Agreed. Best to keep it in the Customizer context.
> An alternative would be using `wp_add_inline_script()` as seen in
[attachment:41158.2.diff]. Or as well, that JS logic that is embedded in
PHP could just as well be added to `customize-controls.js`
IMHO best to do this in `customize-controls.js`. It is a "global" JS
setting/callback not that different from `blur`, `beforeunload`, etc. :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41158#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list