Skip to content

Commit d46fdb1

Browse files
committed
release prep
1 parent f19c540 commit d46fdb1

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

exampleVault/Examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
slider1: 4
2+
slider1: 5
33
suggest: test
44
toggle1: false
55
Domestic_tasks:

src/main.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,12 @@ export default class MetaBindPlugin extends Plugin implements IPlugin {
127127
});
128128
}
129129

130-
this.registerMarkdownCodeBlockProcessor('meta-bind-button', (source, el, ctx) => {
131-
const button = new ButtonMDRC(el, source, this, ctx.sourcePath, getUUID());
132-
ctx.addChild(button);
133-
});
130+
if (this.settings.devMode) {
131+
this.registerMarkdownCodeBlockProcessor('meta-bind-button', (source, el, ctx) => {
132+
const button = new ButtonMDRC(el, source, this, ctx.sourcePath, getUUID());
133+
ctx.addChild(button);
134+
});
135+
}
134136

135137
// LP editor extension
136138
this.registerEditorExtension(createMarkdownRenderChildWidgetEditorPlugin(this));

src/utils/components/ListWrapper.svelte

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
</script>
44

55
{#each elements.slice(0, elements.length - 1) as element}
6-
<slot element={element} />
7-
<span>,</span>
6+
<slot element={element} /><span>,</span>
87
<span></span>
98
<!-- some strange line breaks to get the comma seperated spacing to work -->
109
{/each}

0 commit comments

Comments
 (0)