diff --git a/packages/client/manifest.json b/packages/client/manifest.json
index 5cb93031bd..75366ee96a 100644
--- a/packages/client/manifest.json
+++ b/packages/client/manifest.json
@@ -2340,7 +2340,6 @@
"icon": "TextParagraph",
"styles": ["size"],
"editable": true,
- "illegalChildren": ["section"],
"settings": [
{
"type": "field/longform",
@@ -3385,5 +3384,18 @@
"key": "validation"
}
]
+ },
+ "markdownviewer": {
+ "name": "Markdown Viewer",
+ "icon": "TaskList",
+ "styles": ["size"],
+ "editable": true,
+ "settings": [
+ {
+ "type": "text",
+ "label": "Value",
+ "key": "value"
+ }
+ ]
}
}
diff --git a/packages/client/src/components/app/MarkdownViewer.svelte b/packages/client/src/components/app/MarkdownViewer.svelte
new file mode 100644
index 0000000000..23866e20e9
--- /dev/null
+++ b/packages/client/src/components/app/MarkdownViewer.svelte
@@ -0,0 +1,19 @@
+
+
+
+ {#if value}
+
+ {:else if $builderStore.inBuilder}
+
+ {/if}
+
diff --git a/packages/client/src/components/app/forms/LongFormField.svelte b/packages/client/src/components/app/forms/LongFormField.svelte
index a58e1fe76c..78f0d7c805 100644
--- a/packages/client/src/components/app/forms/LongFormField.svelte
+++ b/packages/client/src/components/app/forms/LongFormField.svelte
@@ -1,7 +1,6 @@
{#if fieldState}
-
- fieldApi.setValue(e.detail)}
- disabled={fieldState.disabled}
- error={fieldState.error}
- id={fieldState.fieldId}
- {placeholder}
- />
-
+ fieldApi.setValue(e.detail)}
+ disabled={fieldState.disabled}
+ error={fieldState.error}
+ id={fieldState.fieldId}
+ {placeholder}
+ />
{/if}
-
-
diff --git a/packages/client/src/components/app/index.js b/packages/client/src/components/app/index.js
index ef0f96ce59..5af62201e5 100644
--- a/packages/client/src/components/app/index.js
+++ b/packages/client/src/components/app/index.js
@@ -30,6 +30,7 @@ export { default as daterangepicker } from "./DateRangePicker.svelte"
export { default as cardstat } from "./CardStat.svelte"
export { default as spectrumcard } from "./SpectrumCard.svelte"
export { default as tag } from "./Tag.svelte"
+export { default as markdownviewer } from "./MarkdownViewer.svelte"
export * from "./charts"
export * from "./forms"
export * from "./table"