mirror of
https://github.com/yjs/yjs.git
synced 2025-12-15 19:27:45 +01:00
getContent returns editable delta yjs/y-prosemirror#203
This commit is contained in:
@@ -684,7 +684,7 @@ export class AbstractType {
|
||||
}
|
||||
}
|
||||
}
|
||||
return /** @type {any} */ (d.done())
|
||||
return /** @type {any} */ (d)
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -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()))
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user