-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Can you please tell me how to make ckeditor as read only component as like of other component in ZK ?
I found this example from ckeditor.com But do not know how to do the same when comes to ZK ?
Thank you very much. But in some scenario i need read/write and in some scenario i need readonly. So i need to create two config file and swtich in the VM(Composer) at the run time ?
Try following, I use ZK 6.5.2 and ckez 3.6.0:
test.zul
<zk>
<ckeditor customConfigurationsPath="/ckconfig.js">
<attribute name="value"><![CDATA[
Test
]]></attribute>
</ckeditor>
</zk>
ckconfig.js
CKEDITOR.editorConfig = function( config )
{
config.readOnly = true;
};
Asked: 2013-06-26 17:00:03 +0800
Seen: 41 times
Last updated: Jun 27 '13