Overriding type on Plugins #4318
-
Hi, I am currently converting my codebase from V34 to the latest. Along the way, I see that the types for most plugins have changed, or are different from what I already have in my model.
Is there any way of overriding the type of plugins? I already have a lot of data stored with the old keys, so going over to the new keys would not be possible. I have searched around for similar posts, and found this: #725. But the link is unfortuentatly dead. Any help appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
See https://platejs.org/docs/plugin#elements |
Beta Was this translation helpful? Give feedback.
overrideByKey
is nowoverride.plugins
, andcomponents
is nowoverride.components