diff --git a/src/views/EditFormView.ts b/src/views/EditFormView.ts index f03971ab..fdd40fc1 100644 --- a/src/views/EditFormView.ts +++ b/src/views/EditFormView.ts @@ -41,7 +41,7 @@ export class EditFormView extends ItemView { async onOpen() { this.formEditor = new FormEditor({ - target: this.contentEl, + target: this.containerEl, props: { definition: this.formState, app: this.app, diff --git a/src/views/FormBuilder.svelte b/src/views/FormBuilder.svelte index 93d56486..b64ba2fb 100644 --- a/src/views/FormBuilder.svelte +++ b/src/views/FormBuilder.svelte @@ -85,9 +85,9 @@ }; -