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

Multiple config objects

Support forum for WYMeditor.

Multiple config objects

Postby Michal.Till on Mon Aug 27, 2007 2:38 pm

Hi.

When I try to do another initialization, SAPI returns errors in Firefox. Example:

<textarea class="wymeditor1" />
<textarea class="wymeditor1" />
<textarea class="wymeditor2" />
...
$j(".wymeditor1").wymeditor({...abc...});
$j(".wymeditor1").wymeditor({...xyz...});

Tested by modifying the "advanced.html" test case.

(Anyway, it's absolutly great software, I'm lovin' it!)
Michal.Till
 
Posts: 3
Joined: Fri Aug 24, 2007 3:45 am

Postby jfh on Wed Aug 29, 2007 8:50 am

I guess you mean $j(".wymeditor2").wymeditor({...xyz...});

Anyway, it's a bug, fixed in r426:
http://trac.wymeditor.org/trac/changeset/426
User avatar
jfh
Site Admin
 
Posts: 370
Joined: Sat Sep 23, 2006 8:43 pm
Location: Belgium


Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest