File tree Expand file tree Collapse file tree 1 file changed +16
-14
lines changed
src/components/core/value-tree/type Expand file tree Collapse file tree 1 file changed +16
-14
lines changed Original file line number Diff line number Diff line change 11<template >
22 <ValueTreeWrapper :name :level :keep-actions-visible =" isEditing" @delete =" $emit('delete')" >
33 <template #value >
4- <template v-if =" ! isEditing " >"</template >
5- <span
6- ref =" valueElement"
7- class =" inline-block font-mono text-code-purple"
8- :class =" { 'px-1.5 py-0.5': isEditing }"
9- spellcheck =" false"
10- :contenteditable =" isEditing"
11- @keydown.enter.stop =" save"
12- @keydown.esc.stop =" cancel"
13- @keydown.up.stop
14- @keydown.down.stop
15- @blur =" onBlur"
16- />
17- <template v-if =" ! isEditing " >"</template >
4+ <span class =" font-mono text-code-purple" >
5+ <template v-if =" ! isEditing " >"</template >
6+ <span
7+ ref =" valueElement"
8+ class =" inline-block"
9+ :class =" { 'px-1.5 py-0.5': isEditing }"
10+ spellcheck =" false"
11+ :contenteditable =" isEditing"
12+ @keydown.enter.stop =" save"
13+ @keydown.esc.stop =" cancel"
14+ @keydown.up.stop
15+ @keydown.down.stop
16+ @blur =" onBlur"
17+ />
18+ <template v-if =" ! isEditing " >"</template >
19+ </span >
1820 </template >
1921 <template #actions >
2022 <!-- Edit -->
You can’t perform that action at this time.
0 commit comments