{error}
} {draft?.isNew && ({newDocumentKeyError}
)} {!isPlanKey(draft.key) && ( setDraft((current) => current ? { ...current, title: event.target.value } : current) } placeholder="Optional title" /> )}{displayedTitle}
: null} actionsSlot={ <> {canManageDocumentLocks ? ( ) : isLocked ? (Viewing revision {selectedHistoricalRevision.revisionNumber}
This is a historical preview. Restoring it creates a new latest revision and keeps history append-only.
Out of date
This document changed while you were editing. Your local draft is preserved and autosave is paused.
{activeConflict.serverDocument.title}
) : null} {renderFoldableBody(activeConflict.serverDocument.body, "text-(length:--fs-14) leading-7", externalReferences)}Delete this document? This cannot be undone.