getContent returns editable delta yjs/y-prosemirror#203

This commit is contained in:
Kevin Jahns
2025-11-18 16:06:07 +01:00
parent de10cf0b93
commit 658bd38371
2 changed files with 2 additions and 2 deletions

View File

@@ -684,7 +684,7 @@ export class AbstractType {
}
}
}
return /** @type {any} */ (d.done())
return /** @type {any} */ (d)
}
/**

View File

@@ -133,7 +133,7 @@ export class YEvent {
* @public
*/
get delta () {
return /** @type {any} */ (this._delta ?? (this._delta = this.getDelta()))
return /** @type {any} */ (this._delta ?? (this._delta = this.getDelta().done()))
}
/**