Skip to content

Commit

Permalink
Merge pull request #3968 from yf-yang/3958
Browse files Browse the repository at this point in the history
fix: add other methods in createSlatePlugin that copies a plugin to wrap
  • Loading branch information
zbeyens authored Jan 14, 2025
2 parents e106959 + 1af6883 commit d88893f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/famous-terms-battle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@udecode/plate-core': patch
---

Fix (bis)
4 changes: 3 additions & 1 deletion packages/core/src/react/plugin/toPlatePlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,13 @@ const methodsToWrap: (keyof SlatePlugin)[] = [
'configure',
'configurePlugin',
'extendEditorApi',
'extendOptions',
'extendApi',
'extendEditorTransforms',
'extendTransforms',
'overrideEditor',
'extend',
'extendPlugin',
'overrideEditor',
];

/**
Expand Down

0 comments on commit d88893f

Please sign in to comment.