Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Can´t use Tiny MCE Editor after Uograde from 4.5.1 to 5.0
Avatar
Michael Oeser
Member
Free Members
sp_UserOfflineSmall Offline
Feb 25, 2012 - 5:16 am

I installed the Tiny MCE Editor Plugin and activated it. The Rich Text Editor appears but I can´t use it because if I click inside the editor the cursor doesn´t appear. Can´t type inside the editor. Another strange one is that even if I activate the Plain Text Editor in the Forums options the Rich Text Editor appears in the forum.

I haven´t has those issues with the former version 4.5.1. Everything was working fine...but now...

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 25, 2012 - 5:22 am

if you have more than one editor installed then which one is used will depend upon your forum profile options.

If the TM editor is not accepting the cursor then this usually points to a script conflict - the most common of which is jQuery or the jQuery UI being loaded from the google cdn or - sometimes - just being force loaded by another plugin or theme. Can you check the sources being used?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Michael Oeser
Member
Free Members
sp_UserOfflineSmall Offline
Feb 25, 2012 - 5:35 am

Yellow Swordfish said

Can you check the sources being used?

Can you tell me how to do it the best way?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 25, 2012 - 5:39 am

Open the forum page. Go to the 'View Source' on whichever browser you are using and then search for '.js' and look for the loading of jQuery and the jQuery.ui. When they are loaded from google or dorce loaded from a plugn or theme they are sometimes given a different name like jquery.min.js with a version number but you should be able to spot them. Look for double loading as well just in case.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Michael Oeser
Member
Free Members
sp_UserOfflineSmall Offline
Feb 25, 2012 - 5:54 am

Thanks. I can see several jQuery scripts beeing loaded and some in fact from Google. But that was also the case yesterday before I upgraded the forum and didn´t cause an issue.

Any idea how to fix this? I assume otherwise I will need to remove the forum enirely from my site which would be a big pain in the A. because I use the forum since a very long time and I need it for my theme support. frown

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 25, 2012 - 6:06 am

I really do need to write this up in the codex! There are many reasons why loading jQuery and the jQuery.ui from google is a bad idea all of which are documented elsewhere on these forums and on other sites. Sadly this hasn't got through to many theme and plugin authors who disregard and walk all over the WP API without thinking about their users and about other plugins they may wish to use.

personally, if it were me, I would be screaming at the author to change their code and to do it properly but experience suggest they rarely listen. Some DO - to be fair - offer an option to load the proper WP supplied libraries but this is rare.

It is usually pretty easy to fix to just change from loading from google to loading from your wp folders but you do need to make some edits. If we know where they are being loaded from then we can usually help out and advise. That call is, of course, entirely up to you.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Michael Oeser
Member
Free Members
sp_UserOfflineSmall Offline
Feb 25, 2012 - 6:11 am

Thanks. For now let me see if I can talk to the themes author. Have a good weekend.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 25, 2012 - 8:47 am

And you.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Michael Oeser
Member
Free Members
sp_UserOfflineSmall Offline
Feb 27, 2012 - 3:31 am

I deactivated all Plugins and checked for issues. At the end I found out that Jigoshop appears to be the "bad guy". Without it the editor works.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 27, 2012 - 3:47 am

JigoShop does load from the google cdn (and I finally wrote this up: http://codex.simple-press.com/.....-conflict/).

However, a couple of weeks back another SP user who also uses JigoShop talked about it to them and as far as I am aware they sent him a copy that removed the google call in favour of using the proper WP versions. if they did do this you might ask - I believe they responded quickly as well. But either way it is not usually that difficult to sort out.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 649
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 616
Members: 17348
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10118
Posts: 79603