diff --git a/common/apiBase.js b/common/apiBase.js index 2047d986f0..345af50e7b 100644 --- a/common/apiBase.js +++ b/common/apiBase.js @@ -4814,6 +4814,11 @@ callback(null); } }; + + baseEditorsApi.prototype["asc_getUserColorById"] = function(id) + { + return '#' + ('000000' + AscCommon.getUserColorById(id, null, false, true).toString(16)).substr(-6); + }; //----------------------------------------------------------export---------------------------------------------------- window['AscCommon'] = window['AscCommon'] || {};