I have this in my pom.xml
Code: Select all
<dependency>
<groupId>org.primefaces.extensions</groupId>
<artifactId>primefaces-extensions</artifactId>
<version>1.2.1</version>
</dependency>
<dependency>
<groupId>org.primefaces.extensions</groupId>
<artifactId>resources-ckeditor</artifactId>
<version>1.2.1</version>
</dependency>
Code: Select all
<pe:ckEditor
id="texto"
value="#{compNoticiaManutencaoMB.noticia.texto}"
defaultLanguage="br"
interfaceColor="#D8D8D8"
customConfig="/sgcdweb/javax.faces.resource/ckeditor.js.xhtml?ln=js"
/>
I want to add plugins in this ckeditor, how I do this? I tried do put extraPlugin in ckeditor.js but I get error.
ckeditor.js
Code: Select all
CKEDITOR.editorConfig = function(config) {
config.language = 'pt-br';
config.extraPlugins = 'abbr';
};
Uncaught [CKEDITOR.resourceManager.load] Resource name "abbr" was not found at "http://localhost:8080/sgcdweb/javax.fac ... ns&v=1.2.1".
The correct url to access this plugin.js is:
http://localhost:8080/sgcdweb/javax.fac ... ugins/abbr
PF version 4
ckeditor 4.2