diff --git a/plugins/setting-resources/src/components/ClassAttributes.svelte b/plugins/setting-resources/src/components/ClassAttributes.svelte index bf6441a127..f5a0407d29 100644 --- a/plugins/setting-resources/src/components/ClassAttributes.svelte +++ b/plugins/setting-resources/src/components/ClassAttributes.svelte @@ -128,7 +128,15 @@ {#each attributes as attr} {@const attrType = attr.type._class === core.class.RefTo ? getRefClassTo(attr.type) : undefined} - showMenu(ev, attr)}> + { + if (attr.isCustom) { + ev.preventDefault() + showMenu(ev, attr) + } + }} + >