finish impl of ckeditor