Wagtail client-side components
    Preparing search index...
    interface Comment {
        annotation: Annotation | null;
        author: Author | null;
        contentpath: string;
        date: number;
        deleted: boolean;
        localId: number;
        mode: CommentMode;
        newReply: string;
        newText: string;
        originalText: string;
        position: string;
        remoteId: number | null;
        remoteReplyCount: number;
        replies: Map<number, CommentReply>;
        resolved: boolean;
        text: string;
    }
    Index

    Properties

    annotation: Annotation | null
    author: Author | null
    contentpath: string
    date: number
    deleted: boolean
    localId: number
    newReply: string
    newText: string
    originalText: string
    position: string
    remoteId: number | null
    remoteReplyCount: number
    replies: Map<number, CommentReply>
    resolved: boolean
    text: string

    There are three variables used for text text is the canonical text, that will be output to the form newText stores the edited version of the text until it is saved originalText stores the text upon comment creation, and is used to check whether existing comments have been edited