[wp-trac] [WordPress Trac] #54449: Loading CodeMirror prevents the Help tabs children to work properly.
WordPress Trac
noreply at wordpress.org
Mon Nov 15 17:41:23 UTC 2021
#54449: Loading CodeMirror prevents the Help tabs children to work properly.
--------------------------+-----------------------------
Reporter: krasenslavov | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Help/About | Version: 5.8.2
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
When you load the `wp-theme-plugin-editor` script (CodeMirror) it
prevents/blocks the Help on click event. You can quickly test this if you
additional tab on the Theme Editor screen, right now there is only an
Overview, but if we add and 2nd one you won't be able to switch between
children.
I am using this on another page, but I have tested it, and when I remove
the `wp_enqueue_script('wp-theme-plugin-editor');` the functionality works
as it should be.
This is the JS file that's causing the issue: `/wp-admin/js/theme-plugin-
editor.js`
I have looked at it quickly but couldn't pinpoint the section of code
that's causing the issue.
Krasen
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54449>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list