Opened 3 years ago
Closed 3 years ago
#53632 closed defect (bug) (fixed)
TinyMCE not working in the customizer until it clicked
Reported by: | Collizo4sky | Owned by: | azaozz |
---|---|---|---|
Milestone: | 5.8 | Priority: | normal |
Severity: | major | Version: | 5.8 |
Component: | TinyMCE | Keywords: | fixed-major commit dev-reviewed |
Focuses: | ui, javascript, administration | Cc: |
Description
I use this customizer control to add a tinymce editor to the customizer for my plugin MailOptin.
Now I have to click on the Tinymce before the it is initialized.
Here's a GIF of the issue https://share.getcloudapp.com/P8u9rkxJ
It works perfectly in WP versions prior to 5.8.
Attachments (1)
Change History (9)
#1
@
3 years ago
- Component changed from Customize to TinyMCE
- Milestone changed from Awaiting Review to 5.8
#2
@
3 years ago
You are right. TinyMCE is initialized when the visual tab is clicked.
I'll be watching this ticket for update.
Thanks for acknowledging it.
#3
@
3 years ago
In 53632.diff: ensure tinymce.init()
runs in all cases on 'interactive' and 'complete' readyState.
@Collizo4sky please test the patch asap if you can.
#5
@
3 years ago
- Owner set to azaozz
- Resolution set to fixed
- Status changed from new to closed
In 51402:
Note: See
TracTickets for help on using
tickets.
This may have something to do with [51082]. As far as I see TinyMCE is initialized by the click on the "Visual" tab, not when the js is supposedly running.
Moving to 5.8 for further investigation.