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

multiple instances of wymedit on a page

Support forum for WYMeditor.

multiple instances of wymedit on a page

Postby caviar on Mon Aug 13, 2007 8:07 pm

Hi,

Is it possible to have multiple edit sessions on a single page? I.E., can you have several different textedit widgets on a single page, each with it's own separate edit session? If so, how would you set that up?

Thanks! (so far, I have to say, this project looks great!)
caviar
 
Posts: 1
Joined: Mon Aug 13, 2007 8:03 pm

Postby jfh on Mon Aug 20, 2007 8:30 am

Yes, since 0.3, you can for example replace each textarea with the class 'wymeditor' by a WYMeditor instance:

Code: Select all
jQuery('textarea.wymeditor').wymeditor();


For more information, please take a look at the test pages available here:
http://files.wymeditor.org/wymeditor/trunk/src/test/
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