Live Collaboration - Your Name (Can I configure it somehow) #10951
Replies: 1 comment
-
|
On excalidraw.com, the collaboration username is stored in localStorage and there's no URL parameter to pre-set it. From the source ( username: importUsernameFromLocalStorage() || "",If no username is saved, a random one is generated via For the hosted excalidraw.com app: There's no supported way to embed the username in the URL. You'd have to pre-set it in each user's localStorage ( If you're self-hosting with the const collaborators = new Map();
collaborators.set("user-socket-id", {
username: "Assigned Name Here",
});
excalidrawAPI.updateScene({ collaborators });And you can call So the answer depends on your setup:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to embed the "Your Name" in the URL or somewhere else in the code? I would like to be able to assign the name of the person instead of them having to type it in. For example, if it could be part of the URL string that would work great. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions