mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-20 21:23:08 +03:00
1 parent
ed875a13b1
commit
33cffc5d73
1 file changed
+14
-3
@@ -1,5 +1,16 @@
|
||||
<script setup lang="ts">
|
||||
const wordWrap = ref(false);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<c-card w-full important:flex-1 important:pa-0>
|
||||
<c-diff-editor />
|
||||
</c-card>
|
||||
<div w-full>
|
||||
<n-space justify="center" mb-3>
|
||||
<n-checkbox v-model:checked="wordWrap">
|
||||
Word Wrap?
|
||||
</n-checkbox>
|
||||
</n-space>
|
||||
<c-card w-full important:flex-1 important:pa-0>
|
||||
<c-diff-editor :options="{ wordWrap: wordWrap ? 'on' : 'off' }" />
|
||||
</c-card>
|
||||
</div>
|
||||
</template>
|
||||
Reference in new issue
Block a user