mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-10 02:49:57 +02:00
feat: disable collab feature when running in iframe (#6646)
Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
@@ -748,6 +748,8 @@ export const getFrame = () => {
|
||||
}
|
||||
};
|
||||
|
||||
export const isRunningInIframe = () => getFrame() === "iframe";
|
||||
|
||||
export const isPromiseLike = (
|
||||
value: any,
|
||||
): value is Promise<ResolutionType<typeof value>> => {
|
||||
|
Reference in New Issue
Block a user