You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-11 20:22:36 +03:00
fix lint
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user