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

Add HTML to the textarea

Support forum for WYMeditor.

Add HTML to the textarea

Postby freezarx on Sun Dec 09, 2007 8:13 pm

Hi,

How kan i simple with a click on a button add some HTML to my WYMeditor textarea. Like this:

[Button] ---> <center></center> --> TextArea (WYMeditor)

I will create my one buttons :P

Tanks for help
freezarx
 
Posts: 1
Joined: Sun Dec 09, 2007 8:09 pm

Postby rostr on Wed Dec 19, 2007 8:44 pm

see this:

jQuery(function() {
jQuery(".wymeditor").wymeditor({
html: '<p>Hello, World!<\/p>',
stylesheet: 'styles.css'
});
});

here:

http://trac.wymeditor.org/trac/wiki/0.4/Integration
rostr
 
Posts: 22
Joined: Sun Jun 17, 2007 8:21 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest