Error adding CKEditor of Primefaces Extensions

旧巷老猫 提交于 2019-12-11 05:49:39

问题


I am trying to incorporate CKEditor (Primefaces Extensions) to my project to replace p:editor. The problem is that when loading the page shows the following error in the browser console:

Error: [CKEDITOR.resourceManager.load] Resource name "default" was not found at "http://localhost:8080/proyecto/javax.faces.resource/ckeditor/styles.js.2.xhtml?ln=primefaces-extensions&v=6.2&v=6.2".

Should be: http://localhost:8080/proyecto/javax.faces.resource/ckeditor/styles.js.xhtml?ln=primefaces-extensions&v=6.2&v=6.2

Instead of (add .2 after styles.js): http://localhost:8080/proyecto/javax.faces.resource/ckeditor/styles.js.2.xhtml?ln=primefaces-extensions&v=6.2&v=6.2

<pe:ckEditor id="editText" widgetVar="editText" value="#{accomunicaciones.correoSeleccionado.cuerpo}">  
    <p:ajax event="save" update="growl"/>  
</pe:ckEditor>  

That could be happening? Thank you.


回答1:


This is a bug so it has been reported to the PFE GitHub page.

There is a patched 6.2.7.jar in that link that fixes the problem.

This is fixed in PFE 6.2.8+. Thanks for reporting!



来源:https://stackoverflow.com/questions/51592500/error-adding-ckeditor-of-primefaces-extensions

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!