mirror of
https://github.com/heyman/heynote.git
synced 2025-02-16 10:19:55 +01:00
Update block.js
This commit is contained in:
parent
4d19ced39c
commit
3db1dfeeba
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user