import { getParam, setParamWithoutReload } from "@needle-tools/engine/src/engine/engine_utils"; export const debug = getParam("debugeditor"); export function getEditorId(){ let id = getParam("editorid"); if (!id || id === true) { id = (Math.floor(Math.random() * 900) + 100).toString(); setParamWithoutReload("editorid", id); } return id; }