MCPcopy
hub / github.com/codex-team/editor.js / next

Method next

src/components/domIterator.ts:88–90  ·  view source on GitHub ↗

* Sets cursor next to the current

()

Source from the content-addressed store, hash-verified

86 * Sets cursor next to the current
87 */
88 public next(): void {
89 this.cursor = this.leafNodesAndReturnIndex(DomIterator.directions.RIGHT);
90 }
91
92 /**
93 * Sets cursor before current

Callers 5

block-ids.cy.tsFile · 0.80
copy-paste.cy.tsFile · 0.80
selection.cy.tsFile · 0.80
flipRightMethod · 0.80

Calls 1

Tested by

no test coverage detected