added ckeditor functions