Skip to content

Commit

Permalink
fixes #668 - should concatenate pre-existing input value with pasted one
Browse files Browse the repository at this point in the history
  • Loading branch information
Yair Even Or authored and Yair Even Or committed Sep 9, 2021
1 parent 98b3114 commit a8c080c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/parts/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -672,8 +672,9 @@ export default {
this.events.callbacks.onMixTagsInput.call(this, e);
}

else if( this.settings.pasteAsTags )
this.addTags(result, true)
else if( this.settings.pasteAsTags ){
this.addTags(this.state.inputText + result, true)
}

else
this.state.inputText = result
Expand Down

0 comments on commit a8c080c

Please sign in to comment.