summaryrefslogtreecommitdiff
path: root/apps/web/src/commands
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/src/commands')
-rw-r--r--apps/web/src/commands/timeline/element/insert-element.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/web/src/commands/timeline/element/insert-element.ts b/apps/web/src/commands/timeline/element/insert-element.ts
index 2110d67b..dfde0ffe 100644
--- a/apps/web/src/commands/timeline/element/insert-element.ts
+++ b/apps/web/src/commands/timeline/element/insert-element.ts
@@ -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;
}