Revert "Change conditional check for ckeditor."

This reverts commit eea081e938e5024a675a05e569815b82b98219e9.