Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fix forward deleting #218
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianallgeier committed Jul 6, 2020
1 parent 5072f35 commit 8087b34
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/Editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -445,8 +445,7 @@ export default {
const block = this.getFocusedBlockComponent();
},
onForward(index) {
this.remove(index);
this.focus(index + 1, "start");
this.mergeWithPreviousBlock(index + 1);
},
onInput(index, data) {
if (!this.blocks[index]) {
Expand Down

0 comments on commit 8087b34

Please sign in to comment.