[all] Add method to get user color

This commit is contained in:
KirillovIlya
2024-02-21 19:50:52 +03:00
parent 0f22772169
commit 5cfd8bd730

View File

@ -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'] || {};