-
FEATURED COMPONENTS
First time here? Check out the FAQ!
This example uses a addon plugin called uicolor. I have downloaded this plugin, but dont know how to add in ZK Maven project and using it.
Any help?
Error which i got
The problem is uicolor plugin is missing in ckez.jar. Can anyone tell me how to add that plugin ? Please
why you download plugin. zk have uicolor feature
see below code
just add 'UIColor'
config.toolbar_MyToolbar =
[
{ name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'] },
{ name: 'fontstyles', items : ['Format','Font','FontSize'] },
{ name: 'clipboard', items : [ 'Cut','Copy','Paste' ] },
'/',
[ 'Image', 'Table', 'HorizontalRule', 'Smiley','Maximize','UIColor' ],
{ name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','-','Undo','Redo'] },
{ name: 'paragraph', items : [ 'TextColor','BGColor','-','SpecialChar','PageBreak','-','SpellChecker','Scayt'] }
];
I download the ckeditor from this url (https://code.google.com/p/zkckeditor/downloads/list) (zk-CKEditor-bin-4.1.1.0-FL-2013-06-26.zip)
Then as per this example (http://www.zkoss.org/zkdemo/input/wysiwyg_editor), i try to use the config.js
When i run the program, this line " config.extraPlugins = 'uicolor';" gives me the problem.
After looking in the ckeditor forum, i came know that, that is a plugin and should be available in plugin folder.
I just had a look on the ckez.jar, that was missing. But zk-CKEditor-bin-3.6.4.0, it was there.
So i downloaded the plugin and unzipped the jar and add the uicolor plugin.
Even though, the same problem.
And also, in the ZK Example, all the icons are colored. That is also used by skins. That is also not available in ckaz.jar
My ZK Version also ZK 6.5.2 maven setup. Actually, i tried to use the editor component, but at the run time, it shows component definition not found. Then only i came to know it is not part of ZK 6.5.2 CE, instead we need to download separately (as jar file) and add to the project. But i search for the maven dependency, but it is not there. So i download the jar file and added to the lib folder of the project.
Then it started working, but the following lies gives the problrm config.extraPlugins = 'uicolor';"
So i removed that line and it started working. And also, i found that the icons are not colored as per demo example.
We have this dependency for Editor..
<dependency>
<groupId>org.zkforge.ckez</groupId>
<artifactId>ckez</artifactId>
<version>3.6.4.0</version>
</dependency>
And its working fine
ZK Cannot put this in ZK EE because ckeditor is open source by some other company. So it must be on the same licence only
Senthilchettyin ( 2013-06-26 13:12:39 +0800 )editWhen i use the above dependency, it shows the following error Missing artifact org.zkforge.ckez:ckez:jar:3.6.4.0
Senthilchettyin ( 2013-06-26 13:16:19 +0800 )editAsked: 2013-06-25 18:27:28 +0800
Seen: 47 times
Last updated: Jun 26 '13