Opened 5 years ago
Closed 5 years ago
#53632 closed defect (bug) (fixed)
TinyMCE not working in the customizer until it clicked
| Reported by: | Collizo4sky | Owned by: | azaozz |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.8 |
| Component: | TinyMCE | Version: | 5.8 |
| Severity: | major | Keywords: | fixed-major commit dev-reviewed |
| Cc: | Focuses: | ui, javascript, administration |
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)
#2
@
5 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
@
5 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.