Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
[#897](https://github.com/nextcloud/cookbook/pull/897) @MarcelRobitaille
- Fix UI glitch when keyword list is empty
[#892](https://github.com/nextcloud/cookbook/pull/892) @MarcelRobitaille
- Allow switching to new instruction line with Enter key
[#890](https://github.com/nextcloud/cookbook/pull/890) @MarcelRobitaille

### Documentation
- Added clarification between categories and keywords for users
Expand Down
5 changes: 4 additions & 1 deletion src/components/EditInputGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,11 @@ export default {
) {
this.addNewEntry()
} else {
// Focus the next input or textarea
// We have to check for both, as inputs are used for
// ingredients and textareas are used for instructions
$ul.children[$pressedLiIndex + 1]
.getElementsByTagName("input")[0]
.querySelector("input, textarea")
.focus()
}
} else if (this.referencePopupEnabled && e.key === "#") {
Expand Down