goodteditor-ui 1.0.43 → 1.0.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -247,10 +247,10 @@ export default {
|
|
|
247
247
|
* @param {KeyboardEvent} e
|
|
248
248
|
*/
|
|
249
249
|
onInputKeydown(e) {
|
|
250
|
-
switch (e.
|
|
250
|
+
switch (e.key) {
|
|
251
|
+
case ',':
|
|
252
|
+
case ';':
|
|
251
253
|
case 'Tab':
|
|
252
|
-
case 'Comma':
|
|
253
|
-
case 'Semicolon':
|
|
254
254
|
case 'Enter': {
|
|
255
255
|
this.onInputEnter(e);
|
|
256
256
|
return;
|
|
@@ -265,7 +265,7 @@ export default {
|
|
|
265
265
|
return;
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
-
switch (e.
|
|
268
|
+
switch (e.key) {
|
|
269
269
|
case 'Backspace': {
|
|
270
270
|
if (this.tagSelected === null) {
|
|
271
271
|
this.selectTag();
|