fix ckeditor integration bug