Forum closed. New forum available at http://community.wymeditor.org/

Updating WYM_INSTANCES when clone() is used

Support forum for WYMeditor.

Updating WYM_INSTANCES when clone() is used

Postby toreole on Fri Nov 09, 2007 11:35 am

Hello,


I’m having some problem getting the updated number of WYMeditors created on the page. What am trying to achieve is to let the user duplicate a div which includes to textarea whit the class wymeditor. The problem comes when I duplicate the div. Instead of showing 4 (after the duplication) WYM_INSTANCES.length shows 2.
What I also finds weird is that $.Wymeditors.length always shows 1. I thought that $.Wymeditors.length and WYM_INSTANCES.length should return the same value.

Sorry for the poor English - and properly the stupid questions :wink: …
toreole
 
Posts: 2
Joined: Fri Nov 09, 2007 11:18 am

Anybody!?

Postby toreole on Wed Nov 14, 2007 6:44 pm

Anybody who any experience from using clone() on elements containing texarea with wym editor in?
toreole
 
Posts: 2
Joined: Fri Nov 09, 2007 11:18 am


Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest