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

Javascript Conflict

Support forum for WYMeditor.

Javascript Conflict

Postby alexismasters on Thu May 20, 2010 4:40 pm

Hello! I love Wymeditor and have been adding it to all my sites, replacing TinyMCE and FCK editors in favor of this clean clean Wymeditor. But I am having trouble getting Wymeditor to work in my Cartweaver3 sites. Cartweaver3 uses javascript to submit product updates, rather than a submit button. If there are any Java experts out there using Wymeditor and Cartweaver3, -- or anyone else -- who could perhaps give me some tips about how to overcome this conflict? All suggestions greatly appreciated. Thanks, ~ Alexis
alexismasters
 
Posts: 2
Joined: Fri Apr 10, 2009 5:29 pm

Re: Javascript Conflict

Postby mr_lundis on Fri May 21, 2010 7:43 am

Hi!
I've never used Cartweaver3, but what you need to do is to "hook in to" it's editor api/submit script. Where appropriate you'll need to call the update() method to update the original textarea, or you could fetch the editor content directly by calling the xhtml() method, witch return a string.

There are several threads in the forums regarding how to do this.

Cheers! ;)
Jonatan Lundin - designer, developer and forum moderator. You should follow me on Twitter!
mr_lundis
 
Posts: 335
Joined: Sun Dec 02, 2007 10:59 am
Location: Sweden


Return to Support

Who is online

Users browsing this forum: No registered users and 2 guests