Skip to content

Commit

Permalink
Update block.js
Browse files Browse the repository at this point in the history
  • Loading branch information
zeltrex7 committed Jan 4, 2024
1 parent 4d19ced commit 3db1dfe
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/editor/block/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,9 @@ class NoteBlockStart extends WidgetType {
// Perform actions on the next div
//console.log( nextDiv.textContent);
text.push(nextDiv.textContent);
// For example, you can get the data-index attribute from the next div


// Move to the next sibling div
nextDiv = nextDiv.nextElementSibling;

nextDiv = nextDiv.nextElementSibling;
}

if (!nextDiv) {
Expand Down

0 comments on commit 3db1dfe

Please sign in to comment.