@dotcms/uve
Version:
Official JavaScript library for interacting with Universal Visual Editor (UVE)
19 lines (17 loc) • 604 B
JavaScript
/**
* Possible modes of UVE (Universal Visual Editor)
* @enum {string}
*
* @property {string} LIVE - Shows published and future content
* @property {string} PREVIEW - Shows published and working content
* @property {string} EDIT - Enables content editing functionality in UVE
* @property {string} UNKNOWN - Error state, UVE should not remain in this mode
*/
var UVE_MODE;
(function (UVE_MODE) {
UVE_MODE["EDIT"] = "EDIT_MODE";
UVE_MODE["PREVIEW"] = "PREVIEW_MODE";
UVE_MODE["LIVE"] = "LIVE";
UVE_MODE["UNKNOWN"] = "UNKNOWN";
})(UVE_MODE || (UVE_MODE = {}));
export { UVE_MODE };