File tree 2 files changed +9
-0
lines changed
2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 5
5
[ #878 ] ( https://github.com./nextcloud/cookbook/pull/878 ) @christianlupus
6
6
- Added unit hints in the labels of the timers
7
7
[ #879 ] ( https://github.com./nextcloud/cookbook/pull/879 ) @christianlupus
8
+ - Allow for multiline text in instructions
9
+ [ #880 ] ( https://github.com./nextcloud/cookbook/pull/880 ) @christianlupus
8
10
9
11
10
12
## 0.9.9 - 2022-01-13
Original file line number Diff line number Diff line change @@ -223,6 +223,13 @@ export default {
223
223
this .ignoreNextKeyUp = false
224
224
return
225
225
}
226
+
227
+ // Allow new lines with shift key
228
+ if ((e .keyCode === 13 || e .keyCode === 10 ) && e .shiftKey ) {
229
+ // Do nothing here, user wants a line break
230
+ return
231
+ }
232
+
226
233
// Using keyup for trigger will prevent repeat triggering if key is held down
227
234
if (
228
235
e .keyCode === 13 ||
You can’t perform that action at this time.
0 commit comments