OptionalcommentOptionalcommentOptionaleditOptionaleditOptionaleditOptionaleditOptionalformatOptionalkeybindingsOptionalonOptionalreadOptionalrenderOptionalrenderCustom renderer for comment text (e.g. a markdown library). A returned string is sanitized with DOMPurify before being set as innerHTML; a returned HTMLElement is appended as-is (sanitization is the caller's responsibility). When omitted, comment text is rendered as plain text.
OptionalreviewOptionalreviewOptionalsetOptionalshowOptionalstylesOptionalvertical
Called when the active (selected) comment changes, including to undefined.