
var CKEDITOR_BASEPATH = '/public/libs/ckeditor/';

function ckValidator(form) {
	for(editor in CKEDITOR.instances) {
		CKEDITOR.instances[editor].updateElement();
	}
	return nette.validateForm(form);
}

//
//$(function(){
//	$('textarea.ckeditor').livequery(function() {
//		$('textarea.ckeditor').ckeditor({customConfig: '/public/js/ck_editor_config.js'});
//	})
//});

