feat: editable code block
This commit is contained in:
@@ -56,7 +56,14 @@
|
||||
</script>
|
||||
|
||||
<div bind:this={contentContainerElement}>
|
||||
<Markdown {id} {content} {model} />
|
||||
<Markdown
|
||||
{id}
|
||||
{content}
|
||||
{model}
|
||||
on:update={(e) => {
|
||||
dispatch('update', e.detail);
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
{#if floatingButtons}
|
||||
|
||||
Reference in New Issue
Block a user