update config to use displayData

This commit is contained in:
ad1992
2022-04-27 14:03:42 +05:30
parent 1edde7291c
commit 128b7741c1
4 changed files with 62 additions and 53 deletions

View File

@@ -156,7 +156,7 @@ export const DEFAULT_CUSTOM_ELEMENT_CONFIG: Required<CustomElementConfig> = {
type: "custom",
customType: "custom",
transformHandles: true,
svg: "",
displayData: { content: "", type: "svg" },
width: 40,
height: 40,
stackedOnTop: false,