Added format option to actors, exposing age and gender.
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
class="input edit"
|
||||
@input="update"
|
||||
@blur="save(false)"
|
||||
@keydown.tab.prevent="indent"
|
||||
/>
|
||||
|
||||
<textarea
|
||||
@@ -227,6 +228,11 @@ function reset() {
|
||||
}
|
||||
}
|
||||
|
||||
function indent() {
|
||||
// YAML does not support tabs
|
||||
input.value.setRangeText(' ', input.value.selectionStart, input.value.selectionEnd, 'end');
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
window.addEventListener('beforeunload', (event) => {
|
||||
if (changed.value) {
|
||||
|
||||
Reference in New Issue
Block a user