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

Full CSS support? Fully Customized styles?

Support forum for WYMeditor.

Full CSS support? Fully Customized styles?

Postby rarco on Mon May 12, 2008 9:43 am

Hi,

Is there any way to create buttons in the editor to apply styles such as the following ones?:

Code: Select all
p {
   text-align:center;
}


Code: Select all
.centered {
   text-align:center;
}


Code: Select all
p#id {
   text-align:center;
}


Code: Select all
div.centered p {
   text-align: center;
}


That is, styles for elements without a specific class, classes without a specific element, elements with specific ids or elements with parent/children restrictions.

So far I just know that the following is possible:
Code: Select all
p.centered {
   text-align: center;
}


For which the style should be defined to work with WYMeditor this way:
Code: Select all
/* WYMeditor */
.centered p {
   text-align: center;
}
/* /WYMeditor */


Thanks in advance,

Rafa
rarco
 
Posts: 1
Joined: Mon May 12, 2008 9:27 am

Return to Support

Who is online

Users browsing this forum: No registered users and 2 guests