添加 Primefaces 扩展的 CKEditor 时出错

Error adding CKEditor of Primefaces Extensions

我正在尝试将 CKEditor(Primefaces 扩展)合并到我的项目中以替换 p:editor。问题是加载页面时在浏览器控制台中显示以下错误:

错误:[CKEDITOR.resourceManager.load] 在“http://localhost:8080/proyecto/javax.faces.resource/ckeditor/styles.js.2.xhtml?ln=primefaces-extensions&v=6.2&v=6.2”找不到资源名称 "default"。

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

而不是(在 styles.js 之后添加 .2): 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>  

这可能会发生吗?谢谢。

这是一个错误,因此已报告给 PFE GitHub page

有一个补丁 6.2.7.jar link 解决了这个问题。

这已在 PFE 6.2.8+ 中修复。感谢举报!