Add stackedOnTop to make sure the custom element is always rendered on top of all when stackedOnTop is true

This commit is contained in:
ad1992
2022-03-28 15:03:29 +05:30
parent 3d459076fb
commit a4a95a591a
5 changed files with 29 additions and 2 deletions
+1
View File
@@ -215,6 +215,7 @@ export type CustomElementConfig = {
svg: string;
width?: number;
height?: number;
stackedOnTop: boolean;
};
export interface ExcalidrawProps {
onChange?: (