Skip to content

Commit abdac3c

Browse files
committed
Merge branch 'main' into next-16
2 parents d26d3cb + da6384c commit abdac3c

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

packages/yjs/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @platejs/yjs
22

3+
## 50.3.6
4+
5+
### Patch Changes
6+
7+
- [#4685](https://github.com/udecode/plate/pull/4685) by [@Pagebakers](https://github.com/Pagebakers) – Fixed issue where onReady would not be called
8+
39
## 50.2.6
410

511
### Patch Changes

packages/yjs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@platejs/yjs",
3-
"version": "50.2.6",
3+
"version": "50.3.6",
44
"description": "Yjs plugin for Plate",
55
"keywords": [
66
"plate",

packages/yjs/src/lib/BaseYjsPlugin.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ export const BaseYjsPlugin = createTSlatePlugin<YjsConfig>({
174174
autoSelect,
175175
selection,
176176
value,
177+
onReady,
177178
}: {
178179
/**
179180
* Id of the document.
@@ -241,6 +242,7 @@ export const BaseYjsPlugin = createTSlatePlugin<YjsConfig>({
241242
// Skipped since YjsEditor.connect already normalizes the editor
242243
shouldNormalizeEditor: false,
243244
value: null,
245+
onReady,
244246
});
245247

246248
// Then process and create providers

0 commit comments

Comments
 (0)