diff --git a/src/lib/components/chat/Messages/CodeBlock.svelte b/src/lib/components/chat/Messages/CodeBlock.svelte index ca69ce38d..31ed330a7 100644 --- a/src/lib/components/chat/Messages/CodeBlock.svelte +++ b/src/lib/components/chat/Messages/CodeBlock.svelte @@ -18,12 +18,17 @@ const dispatch = createEventDispatcher(); export let id = ''; + export let save = false; + export let run = true; export let token; export let lang = ''; export let code = ''; - export let allow_execution = true; + + export let className = 'my-2'; + export let editorClassName = ''; + export let stickyButtonsClassName = 'top-8'; let _code = ''; $: if (code) { @@ -297,7 +302,7 @@ __builtins__.input = input`);