Google Font Manager
-
I just upgraded to WP 3.9 and now Google Font Manager is no longer working. Meaning Font Family does not appear in the menu when the Visual tab is selected when creating new posts.
How can this be fixed?
-
Thanks for catching this! I will look into it and make any necessary updates and let you know. I may not be able to get to it until later on this week.
Thank you Thomas. Just keep me posted.
I just did some preliminary research into the issue. It appears to be related to the TinyMCE editor upgrade to version 4.0 in WordPress 3.9. Ultimately, this will be an easy fix… I just have to find the code changes, and that may take some doing. The entire API changed!!! Here’s what I found (relating to another plugin). The author of that plugin wrote:
“Now, since the update to WordPress 3.9… they have included version 4 of the TinyMCE software. This update is extreme with TinyMCE.. and they have completely rewritten how their framework operates.
This change has blown out 90% of the addons that were originally written to work on the TinyMCE framework. They simply will not work.
And it’s not an easy change this time. It’s an entirely new framework. Every single line of code has to be evaluated and re-written.”
You can read the full post here: http://ww.wp.xz.cn/support/topic/wp-edit-and-wordpress-39-please-read?replies=3… again, this is a different plugin experiencing similar issues.
I will hunt this bug and fix it! It may take a bit more time than I have right now. I will keep you updated.
Oh, one more thing… In the meantime, just turn off the “Visual Editor” option in the setting and the rest of the plugin will work just fine.
Thank you Thomas – I will hunt for the Visual Editor option in the Google Font Manager setting and turn it off.
I attempted to disable Visual Editor under Settings on Google Font Manager and the font field does not reappear.
From the plugin’s control panel, click on the “gears” to get to the settings. Then, turn the option “Editor Fonts” to off. This will disable the use of fonts in the Visual Editor. The font field will not appear. You will have to use the “site-wide” style settings for now or hard-code the font variables (i.e. style=”font-family: Open Sans”) until I can fix the bug.
Ok got it. Will wait for the update. Thanks.
I have several posts out there to help resolve this issue. I will keep you posted. In the meantime, keep in mind that the plugin provides several ways to make use of Google Fonts without the need for the visual editor.
Understood but I am not aware of those ways. I want to use the arial font as the default for posts but it is part of the basic font package vs. the font you add so I am unable to select it.
Understood but I am not aware of those ways. I want to use the arial font as the default for posts but it is part of the basic font package vs. the font you add so I am unable to select it.
Can’t you simply check out the code in WP-Edit plugin and see how do they add the font family in WP3.9?
Yes. That was my next step (or something like that anyway), I first wanted to give my posts (stackoverflow, etc.) a chance to respond. But, digging into another plugin’s code would be the next logical step. Thanks for the tip 🙂 Hopefully, I’ll have the time to do that this week yet.
OK, I have had a look at it and rather than using the WP Edit plugin, I have followed this: http://www.wpexplorer.com/wordpress-tinymce-tweaks/
And managed to get it to work with just some minor modifications.
Thomas, if you give me your e-mail, I will send you the modified plugin.
Kind regards,
Richard
The topic ‘Google Font Manager’ is closed to new replies.