i have to used tinymce plugin
vaadin-wrapper-for-tinymce-2.0.0.jar
when i config the style selection not works
how to add custom css in tinymce path
i add the contents.css file
TinyMCETextField productDescription = new TinyMCETextField();
productDescription.setCaption(AppMessage.getLabel(“label.productDescription”));
productDescription.setSizeFull();
productDescription.setRequired(true);
productDescription.setHeight(“350px”);
productDescription.setWidth(“90%”);
String Config = "{ ";
Config += "content_css : 'css/contents.css', ";
Config += " style_formats : [";
Config += " {title : 'Title', inline : 'span', classes : 'productName'},";
Config += " {title : 'Subtitle', inline : 'span', classes : 'pageNav'},";
Config += " {title : 'Author', inline : 'span', classes : 'commonTextAuthor'},";
Config += " {title : 'Content', inline : 'span', classes : 'commonText'},";
Config += " {title : 'Link', inline : 'a', classes : 'pageNavLink'},";
/* Color Styles */
Config += " {title : 'Color styles'}, ";
Config += " {title : 'Weddix green', inline : 'span', classes : 'weddix_green'},";
Config += " {title : 'Ratgeber blue', inline : 'span', classes : 'ratgeber_blue'},";
Config += " {title : 'Regional green', inline : 'span', classes : 'regional_green'},";
Config += " {title : 'Locations green', inline : 'span', classes : 'locations_green'},";
Config += " {title : 'Branchenbuch blue', inline : 'span', classes : 'branchenbuch_blue'}, ";
Config += " {title : 'Shop orange', inline : 'span', classes : 'shop_orange'}, ";
Config += " {title : 'Mode and Schmuck', inline : 'span', classes : 'mode_and_schmuck_red'}, ";
Config += " {title : 'Reise blue', inline : 'span', classes : 'reise_blue'}, ";
Config += " {title : 'Services orange', inline : 'span', classes : 'services_orange'}, ";
Config += " {title : 'Community lila', inline : 'span', classes : 'commmunita_lilac'}, ";
Config += " } ";
productDescription.setImmediate(true);
[b]
[/b][b]
[/b][b]
[/b][b]
[/b]