Skip to content

Commit

Permalink
Self_close is not an editable attribute, is just for internal use (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
cibernox authored Apr 5, 2024
1 parent 0e8596c commit 03e2988
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/svelte/components/PropertiesSidebar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
classList = classAttr ? classAttr.split(" ").filter((e) => e.trim().length > 0) : []
}
$: editableAttrs = Object.entries($selectedAstElement?.attrs || {}).filter(
([k, _]) => k !== "class" && k !== "selfClose" && !/data-/.test(k),
([k, _]) => k !== "class" && k !== "self_close" && !/data-/.test(k),
)
$: sidebarTitle = $selectedAstElement?.tag
$: isRootNode = !!$selectedAstElementId && $selectedAstElementId === "root"
Expand Down

0 comments on commit 03e2988

Please sign in to comment.