if (formatAnnotation.italic()) {
features.add("italic");
}
if (formatAnnotation.underline()) {
features.add("underline");
}
RtePluginParameters widgetParameters = new RtePluginParameters();
widgetParameters.setFieldName("format");
widgetParameters.setFeatures(convertFeatures(features));