Fixed ckeditor conditional statements