Support Forum

TinyMCE Unable to type in Text Field

98 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Not really sure how to respond to that. I am still seeing calls to the missing ‘accordion’. Your theme is still attempting to load an old copy of jQuery with a direct document-write of a script tag (a really nasty way of doing it) and seems to be loading up snippets of jQuery all over the place embedded in the main html. Of course, this could have nothing to do with it but the theme is the prime candidate at the moment.

I will ask Steve to take a look as soon as he is back to see if he can spot anything I may have possibly missed.

SH Shama
Shama
Member

I have the same issue, I cannot type in the text box when I have Tiny MCE installed. As soon as I deactivated it, I could type again. I am using Tiny Mce in my WP theme without any problems. As I read above, you are doing something with the coding. If you update the editor plugin, how do I find out? Do I have to re-download and re-install it or is there some automatic function?

YS Yellow Swordfish
Yellow Swordfish
Member

On the update issue, SP5 core, SP plugins and themes are all made available through the WP Update tool so once installed they are easily updated.
On the tinymce front – can we have a link to your forum page?

YS Yellow Swordfish
Yellow Swordfish
Member

An odd one. Your site is actually throwing javascript errors. This is on EVERY page but it is these errors (initially) that is preventing SP from using scripts on the forum page and will be having a similar effect on other pages.

The two items causing problems are one called ‘colorbox’ and one called ‘calendar’. As fra as I can tell they appear to be trying to use the jQuery library before it is loaded and available.

Both of the problem scripts are being loaded by a plugin called ‘webinar’.

SH Shama
Shama
Member

I deactivated the webinar plugin, and then reactivated tinymce, but still cannot write in the text area. Maybe you could rerun your test of my site and check if it is still throwing javascript errors with the plugin deactivated. Maybe I need to uninstall it.

Also I am curious what tool you use to check if my site is not acting right, and if you could recommend a tool for me to check on my site myself. I imagine it will affect my google rankings if the site throws up script errors.

Thanks.

YS Yellow Swordfish
Yellow Swordfish
Member

The only other thing I see that is worrisome is a plugin called ‘Premium List Magnet’ that is loading a copy of the jQuery UI library that it has supplied instead of using the official WP version.

This is NOT a good thing to do for all sorts of reasons (explained in this codex article: http://codex.simple-press.com/codex/faq/troubleshooting/what-is-this-jquery-conflict/ – note you need to currently log in to the codex as well). But – I don’t see any noticeable effect of this issue so I would not swear it is the cause of the conflict. If it IS possible to deactivate this plugin for testing purposes it would be useful however.

And if THAT doesn’t solve it time to start looking at what else is active so perhaps you could give me a list of your active WP plugins (available in the forum toolbox > environment).

YS Yellow Swordfish
Yellow Swordfish
Member

Sorry  you asked about tools.

Most modern browsers now come with a developers tool or two available from a menu. Certainly Safari and Chrome do. IE is a bit basic I am told.

personally I use Firefox and I have the ‘Firebug’ extension installed. This has a console that will check and look for script errors and also a CSS tool that enables you to inspect any displayed element and see the CSS being aplied as well as change it.

But I also just viewed the source code and did a search for .js files being used!

CM Carley A Morrow
Carley A Morrow
Member

Hi, We’re also having the same issue, when we activate Tiny MCE plugin in the forum, we cant type in the content area. We’re using WordPress 3.3.1.  and do happen to have a cache plugin installed W3 Total cache but not sure if thats the culprit.  Our link is here  http://www.socialots.co.uk/forums/

Any ideas?  In the meantime I’ll check the forum with firefox error console

Thanks

J

YS Yellow Swordfish
Yellow Swordfish
Member

Carley – I know we have had a few people with this issue but usually it does come down to the jQuery conflict issue and the problem is that if there IS such a conflict even if not responsible for the editor problem, it DOES have to be sorted out first so we can then look at other possible culprits.

If possible – and I realise it isn’t always so easy – a quick test is to switch your site briefly to use the WP default theme to ascertain if the problem still exists – and then switch right on back again of course.

But your theme IS doing thinghs incorrectly. This codex article explains this in detail – http://codex.simple-press.com/codex/faq/troubleshooting/what-is-this-jquery-conflict/ (note you will need to currently log in separately to the codex).

In your case it is complicated by the fact that the theme is loading a ‘custom’ version of the jQuery UI library and we do not know what that contains. But can find out of the loading is corrected as we can then see what might be missing and add it back in.

So – the culprits in the theme are:

  • jquery-ui-1.8.16.custom.min.js
  • jquery.ui.core.js
  • jquery.ui.datepicker.js
  • jquery.ui.widget.js

all of which are being supplied and loaded from the theme instead of using the WP supplied versions.

You can talk to the theme author and suggest they change things to ‘enqueue’ these scripts properly from the WP library  or – if you can find where they are being loaded, we can help you correct the code which is usually not that hard to do.

SH Shama
Shama
Member

I deactivated the Premium List Magnet plugin, and that fixed it. Now I can type in the reply box. The only thing is I am losing a useful plugin. I guess I will try to contact the creator of the plugin and mention the issue. Maybe he will do something about it.

However I cannot figure out how to read the codex article you posted above several times. When I click on the link, I just end up on the page that tells me I should buy a membership – although I am logged in.

YS Yellow Swordfish
Yellow Swordfish
Member

Shama: Sorry – I should have mentioned that at the moment you need to log in to the codex using the same credentials as this site. We are working on a single login for both but it is not as easy as we thought it was going to be.

It’s good to locate the problem as then it can be fixed of course. if you can find out in the code where it is being loaded we can advise on the code to change?

SH Shama
Shama
Member

Hmm, on that page there is no place to log into the codex, it only shows me as logged in already – how do I go about that?

YS Yellow Swordfish
Yellow Swordfish
Member

Above the sidebar menu? Are you saying it says you are logged in (On any codex page) but when you try and access a different codex page it tells you you are not?

SH Shama
Shama
Member

The page says “Join the Simple Press community”, and it shows the different membership levels. On the top of the right sidebar it says “Welcome back Shama”. There is nothing about any codex on that page.