diff --git a/src/addons/mod/wiki/pages/edit/edit.ts b/src/addons/mod/wiki/pages/edit/edit.ts index 86bd71e26..e1ab5857d 100644 --- a/src/addons/mod/wiki/pages/edit/edit.ts +++ b/src/addons/mod/wiki/pages/edit/edit.ts @@ -359,7 +359,7 @@ export class AddonModWikiEditPage implements OnInit, OnDestroy, CanLeave { async save(): Promise { const values = this.pageForm.value; const title = values.title; - let text = values.text; + let text = values.text ?? ''; const modal = await CoreDomUtils.showModalLoading('core.sending', true);