Browse Source

Don't move cursor after remove

single-block-api
Peter Stuifzand 11 months ago
parent
commit
5f375992b4
  1. 1
      list-editor/cursor.js

1
list-editor/cursor.js

@ -49,7 +49,6 @@ function createCursor(start) {
if (cursor >= store.length()) {
cursor = store.length() - 1
}
cursor = store.firstSameIndented(cursor, item.indented)
},
insertAbove(store, item) {
store.insertBefore(store.currentID(cursor), item)

Loading…
Cancel
Save