mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 06:06:01 +00:00
feat: add xml preview
This commit is contained in:
9
packages/web/src/celldata/XmlCellView.svelte
Normal file
9
packages/web/src/celldata/XmlCellView.svelte
Normal file
@@ -0,0 +1,9 @@
|
||||
<script lang="ts">
|
||||
import XmlHighlighter from './XmlHighlighter.svelte';
|
||||
|
||||
export let selection;
|
||||
</script>
|
||||
|
||||
{#each selection as cell}
|
||||
<XmlHighlighter code={cell.value} />
|
||||
{/each}
|
||||
Reference in New Issue
Block a user