Я пытался использовать CKEditor в JSF страницы, как:
ошибки Javascript при использовании CKEditor в JSF страницы
<pe:ckEditor id="editor" value="#{messagingController.messageContent}" width="600"/>
Редактор появится в Internet Explorer, но не в Fire Fox или Chrome
Firebug шоу мне следующее сообщение об ошибке:
SyntaxError: An invalid or illegal string was specified
и консоли Chrome показывает мне следующее сообщение об ошибке:
Uncaught SyntaxError: Failed to set the 'innerHTML' property on 'Element':
The provided markup is invalid XML, and therefore cannot be inserted into an XML document.
CKEDITOR.plugins.add.afterInit
(anonymous function)
k
CKEDITOR.scriptLoader.load
(anonymous function)
(anonymous function)
(anonymous function)
k
CKEDITOR.scriptLoader.load
CKEDITOR.resourceManager.load
i
(anonymous function)
k
(anonymous function)
(anonymous function)
(anonymous function)
k
l
o
(anonymous function)
Это ошибка? Могу ли я включить этот компонент любым другим способом?
Я также использую последние primefaces Extentions LIB:
<groupId>org.primefaces.extensions</groupId>
<artifactId>primefaces-extensions</artifactId>
<version>3.0.0</version>