Skip to content
Marcos Caceres edited this page Mar 27, 2026 · 11 revisions

editors

Type: Person[] Default: []

An array of person objects describing the editors of the document. At least one editor is required for most W3C documents.

Basic usage

var respecConfig = {
  editors: [
    {
      name: "Alice Smith",
      url: "https://example.org/alice",
      company: "Example Corp",
      companyURL: "https://example.org/",
      w3cid: 12345,
    },
    {
      name: "Bob Jones",
      company: "Another Co.",
      companyURL: "https://anotherco.example/",
      w3cid: 67890,
    },
  ],
};

Person object fields

Field Type Description
name string Required. Full name of the editor
url string Personal URL or mailto: address
company string Employer or affiliation
companyURL string URL of the employer
w3cid number W3C account ID — enables contributor stats
orcid string ORCID iD URL (e.g. https://orcid.org/0000-0000-0000-0000)
note string Short note shown in parentheses after the name
extras Extra[] Additional links shown after the person entry
retiredDate string "YYYY-MM-DD" — marks editor as having retired on this date

Notes

  • See person for full documentation of all person object fields and the extras format
  • To credit former editors, use formerEditors, or set retiredDate to keep them listed inline
  • For non-editor contributors, use authors

Guides

Configuration options

W3C Configuration options

Linting rules

Internal properties

Handled by ReSpec for you.

Special <section> IDs

HTML elements

Custom Elements

HTML attributes

CSS Classes

Special properties

Clone this wiki locally