Support Forum

TinyMCE "cannot type in text box" problem + a few other issues

22 Answers

New Answer

CM Carley A Morrow
Carley A Morrow
Member

Hey Yellow Swordfish,

 

I have just noticed that it is working fine when we add topic or edit topic but when we click on reply, we can not type in textarea.

 

Can you please help me to come out of this.

YS Yellow Swordfish
Yellow Swordfish
Member

OK if I make a post in your site as that is the only way I can load the post in edit (if permissions allow would allow me to edit)?
If so which topic would you prefer me to post to?

YS Yellow Swordfish
Yellow Swordfish
Member

I can’t create a post either. These four lines:

<script type="text/javascript" src="http://www.socialots.co.uk/wp-content/themes/socialots/jquery-ui-1.8.16.custom.min.js"></script>
<script type="text/javascript" src="http://www.socialots.co.uk/wp-content/themes/socialots/jquery.ui.core.js"></script>
<script type="text/javascript" src="http://www.socialots.co.uk/wp-content/themes/socialots/jquery.ui.datepicker.js"></script>
<script type="text/javascript" src="http://www.socialots.co.uk/wp-content/themes/socialots/jquery.ui.widget.js"></script>

are still present and being loaded.

CM Carley A Morrow
Carley A Morrow
Member

Hello Yellow Swordfish,

 

These libraries are required as I am using it for date picker.

 

And I am able to create the topic but when I am trying to reply in topic I can’t type into the textbox.

YS Yellow Swordfish
Yellow Swordfish
Member

We are going around in circles. I know you need the libraries but the whole point of everything we have discussed is that they are not being loaded correctly using the WP api or being loaded from the WP library. Thus you have multiple copies and disparate versions which is why things do not work. This is not just an SP problem. This can effect any plugins you may want to use that rely on the jQuery libraries.

This needs to be corrected and my last suggestion should have worked.

CM Carley A Morrow
Carley A Morrow
Member

@Yellow Swordfish

– apologies; I will ask my developer to re-read your post. My understanding (as a non-developer) is that many libraries/calls are not being correctly loaded (&/or are being loaded multiple times) & these need fixed for SP (& could cause problems with other plugins).

Thanks, Carley

YS Yellow Swordfish
Yellow Swordfish
Member

That’s correct. 1 – they should ALL be loaded from the wp includes script libraries and 2 – should ALL use the wp_enqueue_script() method to load them.