Only set editor options if there are options, otherwise there is an error with jQuery.each.