Skip to content

Commit

Permalink
MCE-editor: save on blur
Browse files Browse the repository at this point in the history
  • Loading branch information
ben committed Nov 5, 2022
1 parent d3ffe41 commit dfe882a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Next Release

- Text edits on progress items are no longer lost when changing the rank.

## 1.18.13

- Update the asset pop-out sheet to present half-edit (which more closely matches the cards) and full-edit experiences ([#524](https://github.com/ben/foundry-ironsworn/pull/524))
Expand Down
7 changes: 6 additions & 1 deletion src/module/vue/components/mce-editor.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
<template>
<div v-if="data.editing" class="editor flexcol">
<Editor v-bind="$attrs" :modelValue="modelValue" :init="mceConfig" />
<Editor
v-bind="$attrs"
:modelValue="modelValue"
:init="mceConfig"
@blur="$emit('save')"
/>
</div>
<div v-else class="editor flexcol">
<with-rolllisteners
Expand Down

0 comments on commit dfe882a

Please sign in to comment.