UNPKG

@dotcms/uve

Version:

Official JavaScript library for interacting with Universal Visual Editor (UVE)

19 lines (17 loc) 626 B
'use strict'; /** * 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 */ exports.UVE_MODE = void 0; (function (UVE_MODE) { UVE_MODE["EDIT"] = "EDIT_MODE"; UVE_MODE["PREVIEW"] = "PREVIEW_MODE"; UVE_MODE["LIVE"] = "LIVE"; UVE_MODE["UNKNOWN"] = "UNKNOWN"; })(exports.UVE_MODE || (exports.UVE_MODE = {}));