registring fields for editor