-
Notifications
You must be signed in to change notification settings - Fork 329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Placing two editor controls in the customizer leads to odd behavior. #140
Comments
Which version of WordPress does it affect? |
latest + trunk. |
Any temp fixes for this issue? |
I'm afraid not... The reason this issue occurs is still a mystery to me, I haven't been able to determine why it occurs. |
Okay, will dive into it. Thanks! |
Couldn't find it either.. debugged some scripts and found out the following. If you console.log the registered MCE you see that if you add 1 editor field all goes well but if you add a second one, it loops thought all the registered ones, so first one = 1 time, second time = 3 times. 1 + 2 = 3. See the following code, this is when i console.log public/wp-includes/class-wp-editor.php at row 1246 add the following so you can view all registered mce's. console.log(init); For some reason it double registeres them.
|
@aristath - I don´t know if this helps to this issue but i found someone who apparently find out what is causing the issue with more than one editor in the customizer. |
is this one really resolved? i'm currently on latest rev and looks like it still happening (to me). Anyone else confirm? code snippets:
then
(in another section) |
Yeah, it still exists and not solved when used in theme. But it is working when using Kirki as a plugin. Thanks |
Do you perhaps have another plugin activated that uses a WYSIWYG? perhaps something like customize-posts? |
No, I don't. I've checked it in clean install without any plugin activated. |
@manandharsudin I believe this was just fixed in the develop branch, can you please verify it? |
@aristath Yes the develop branch is working fine. Thanks |
When placing two editor controls within the customizer, one of the editor controls will have two toolbars.
Code used:
Visual Reference.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: