fix lint
This commit is contained in:
parent
0b18ff52c5
commit
fd31e793d1
3 changed files with 8 additions and 5 deletions
|
@ -40,9 +40,7 @@ export function renderModel(editor, model) {
|
|||
}
|
||||
return lines;
|
||||
}, [[]]);
|
||||
|
||||
// console.log(lines.map(parts => parts.map(p => p.toString())));
|
||||
|
||||
// TODO: refactor this code, DRY it
|
||||
lines.forEach((parts, i) => {
|
||||
let lineContainer = editor.childNodes[i];
|
||||
while (lineContainer && (lineContainer.tagName !== "DIV" || !!lineContainer.className)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue