refactor: new parameters modulerefactor: unify element params

This commit is contained in:
Maze Winther
2026-04-29 01:28:50 +02:00
parent d7692b4c79
commit 222ef055fc
53 changed files with 2021 additions and 1362 deletions
@@ -189,7 +189,7 @@ export class InsertElementCommand extends Command {
}
}
if (element.type === "text" && !element.content) {
if (element.type === "text" && !element.params.content) {
console.error("Text element must have content");
return false;
}