问题描述
我试图在我的项目中开始使用Primefaces CKEditor.我做了这里描述的所有事情: https://github.com/primefaces-extensions/primefaces-extensions.github.com/wiki/使用入门但是很遗憾,CKEditor的脚本包含错误的生成的URL.
I tried to start using Primefaces CKEditor in my project. I did all what is described here:https://github.com/primefaces-extensions/primefaces-extensions.github.com/wiki/Getting-StartedBut unfortunately the script of CKEditor contains wrong generated urls.
(某些网址以'.2'开头)
(there some urls is prefixed by '.2')
例如:
安装:
javax.faces.resource/ckeditor/skins/moono-lisa/.2editor.css.xhtml?ln=primefaces-extensions&v=6.2.5&v=6.2
应该是
javax.faces.resource/ckeditor/skins/moono-lisa/editor.css.xhtml?ln=primefaces-extensions&v=6.2.5&v=6.2
此处相同:
代替:
javax.faces.resource/ckeditor/styles.js.2.xhtml?ln=primefaces-extensions&v=6.2.5&v=6.2
应该是
javax.faces.resource/ckeditor/styles.js.xhtml?ln=primefaces-extensions&v=6.2.5&v=6.2
贝洛我从控制台连接了打印屏幕.我尝试了所有想到的方法,但没有找到解决方案. Meaby有人对您有想法或建议吗?
bellow I attach print screen from console. I tried everything that comes to my mind but I not found solution. Meaby someone of you have some Idea or suggestions?
推荐答案
这是一个错误,因此已报告给 PFE GitHub页面.
This is a bug so it has been reported to the PFE GitHub page.
该链接中有一个修补的6.2.7.jar,可以解决此问题.
There is a patched 6.2.7.jar in that link that fixes the problem.
此问题已在PFE 6.2.8+中修复.感谢您的举报!
This is fixed in PFE 6.2.8+. Thanks for reporting!
这篇关于Primefaces CKEditor的URL编码错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!