Support Forum

Tiny mce editor appears, but doesn't work

LL lucas land
lucas land
Member

I’ve got the tiny mce editor to appear, but it won’t let me click in the box to type a post. Can’t figure out what the problem is. other editors work, but i want tiny mce because it’s pretty.

12 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

The most common reason is a script conflict caused by a badly loaded jQuery library in your Wp theme or another plugin. At least that is the first thing to look for and most usually fairly easy to put right.

This codex article explains the problem and how to find out of you have this issue: http://codex.simple-press.com/codex/faq/troubleshooting/what-is-this-jquery-conflict/

LL lucas land
lucas land
Member

I checked the jquery issue and it isn’t loading outside my site and doesn’t seem to have any duplicates, but I’m still experiencing this problem with the Tiny mce editor. Any other ideas?

YS Yellow Swordfish
Yellow Swordfish
Member

Can you give me a link to your forum page? Can non-registered user make posts?

LL lucas land
lucas land
Member

No it’s only for registered users, part of a member’s only section. I’ll create a test user for you.

– credentials removed by admin –

YS Yellow Swordfish
Yellow Swordfish
Member

Ok I have saved the credentials and removed them from your post – this is a fairly public form so not really a good idea to post the here!

But – you still have not given me a link to the actual form page of your site…

LL lucas land
lucas land
Member

Oh yeah, sorry. ediblelawns.net/premium/forum but you will have to log in first before you can get to it.

YS Yellow Swordfish
Yellow Swordfish
Member

Ok this is almost certainly the culprit:

Screen-Shot-2012-09-26-at-15.07.39.png

You can clearly see the jquery.ui scriot file being loaded from the googlespis.com cdn.

I think this is being loaded by the event calendar plugin. The best way to test this is to deactivate it briefly – then try the editor. Reactivate it of course and then – assuming this is the problem – it will need to be fixed up to load the kosher wp version.

LL lucas land
lucas land
Member

deactivated the calendar plugin and it still won’t allow me to click in the box, BUT the fancy tabbed widget was also using google api. deactivated it and now it works.

Now I would like to use the tabbed widget, but I’m not sure how to change how it loads jquery.

YS Yellow Swordfish
Yellow Swordfish
Member

You need to locate the piece of code that is loading that file from google. It might be via an html ‘script’ tag or it might be using the function wp_enqueue_script(…) function. So can you take a look at the files for the culprit plugin?

LL lucas land
lucas land
Member

ok found this:

// // Load from Google CDN.
// wp_enqueue_script(‘jquery’, ‘https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js’, false, ‘1.6.1’);
// wp_enqueue_script(‘jquery’, ‘https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js’, false, ‘1.4.2’);

LL lucas land
lucas land
Member

found it and fixed it. there were alternate possibilities in the code for getting the jquery script. Thanks.