mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-22 05:51:44 +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>
|
<template>
|
||||||
<c-card w-full important:flex-1 important:pa-0>
|
<div w-full>
|
||||||
<c-diff-editor />
|
<n-space justify="center" mb-3>
|
||||||
</c-card>
|
<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>
|
</template>
|
||||||
Reference in new issue
Block a user