Hi all,
I would like to get some help about integrating the fontawsome plugin into the hippo's CKEditor.
Plugin that I'm talking about:
Sofar I was able to display the icon chooser and also changing the colors of the icons.
My configuration looks like at the moment:
ckeditor.config.overlayed.json:
{
extraPlugins:'fontawesome,widget,colordialog,lineutils',
contentsCss:'/mnt/ssd/Developer/Repositories/corporate-website/bootstrap/webfiles/src/main/resources/site/css/global/plugins/font-awesome/css/font-awesome.css',
toolbar:[{ name: 'insert', items: [ 'FontAwesome', 'Source' ] } ],
allowedContent:true
}
The issues that I'm having at the moment are:
1. Once I select an icon from the list I'm not able anymore to open the the source tab. When I click on it just nothing happens. Once I'm having just text inside the same field I'm able to open it.
2. When I try to save my document when the field has a selected icon the CMS "goes crazy". I mean there is no exception in the logs but it seems like tries to load something as the load-bar at the top left just goes back and forth. Once I remove the icon I'm able to save the document.
3. One strange thing in the log:
[INFO] [talledLocalContainer] 28.08.2015 13:00:20 WARN http-nio-8080-exec-4 [ResourceServlet.prepareResponse:452] No mime-type mapping for resource path: /mnt/ssd/Developer/Repositories/corporate-website/target/tomcat8x/webapps/cms/WEB-INF/classes/ckeditor/optimized/plugins/fontawesome/font-awesome/fonts/fontawesome-webfont.woff2. Fallback to 'application/octet-stream'.
Does this plugin requires to write a custom CKEditorNodePlugin Java class?
Or what could be the problem?
Thank you.