We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 365e6ab commit 9b0b4a1Copy full SHA for 9b0b4a1
1 file changed
packages/superdoc/src/core/SuperDoc.js
@@ -286,13 +286,15 @@ export class SuperDoc extends EventEmitter {
286
}
287
288
this.config.colors = shuffleArray(this.config.colors);
289
+ /** @type {Map<unknown, unknown>} */
290
this.userColorMap = new Map();
291
this.colorIndex = 0;
292
293
// @ts-expect-error - __APP_VERSION__ is injected at build time
294
this.version = __APP_VERSION__;
295
this.#log('🦋 [superdoc] Using SuperDoc version:', this.version);
296
297
+ /** @type {string} */
298
this.superdocId = config.superdocId || uuidv4();
299
// Default to an empty palette when no colors are configured so downstream
300
// assignment logic doesn't have to null-check on every access.
0 commit comments