ProposalState

Type: String

Static properties

DISABLED_CONTENT_READONLY

Type: String

The state returned when any content in the proposal's range is for any reason read only.

DISABLED_DOCUMENT_LOCKED

Type: String

The state returned when the proposal's document is locked.

DISABLED_DOCUMENT_NOT_LOADED

Type: String

The state returned when the proposal's document has not been loaded (yet).

DISABLED_DOCUMENT_OUT_OF_SYNC

Type: String

The state returned when the proposal's document is out of sync.

DISABLED_DOCUMENT_SAVE_ERROR

Type: String

The state returned when the proposal's document has any save error.

DISABLED_PROPOSAL_CONTAINS_NEWLINES

Type: String

The state returned when the proposed change contains newlines.

DISABLED_TEXT_CHANGED

Type: String

The state returned when the target text in the content does not match the original text. This means that the content has been changed inside the annotation range.

DISABLED_TEXT_CONTAINS_NEWLINES

Type: String

The state returned when the target text in the content contains any sort of newlines or block borders.

DISABLED_TOMBSTONED

Type: String

The state returned when the proposal is tombstoned.

DISABLED_VALIDATION_FAILED

Type: String

The state returned when merging the proposal would result in an invalid XML document.

ENABLED

Type: String

The state returned for proposals that can be merged. This reflects a state in which the merge button is enabled.

MERGED

Type: String

The state returned when the proposal is merged. This might happen after merging via the onProposalMerge callback or when the proposal has been merged manually.

MERGING

Type: String

The state returned when merging a proposal in progress. This state is only returned when the proposal is merged via the onProposalMerge callback.

NOT_APPLICABLE

Type: String

The state returned for annotations that are not a proposal. These annotations lack a metadata.proposedChange field.