mirror of
https://github.com/OpenCut-app/OpenCut.git
synced 2026-07-13 21:52:53 +02:00
refactor: new parameters modulerefactor: unify element params
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user