Hi I have been using milkdown for a while and it all work great, recently when making some changes I noticed you released a new kit package which includes all the basic stuff, then I tried to upgrade my dependency to use the latest, but I see the below error after switching from milkdown/core to milkdown/kit:
MilkdownError: Context "editorViewOptions" not found, do you forget to inject it?
at d (index.ts:13:10)
at G.get (container.ts:21:13)
at L2.use (ctx.ts:87:28)
at L2.update (ctx.ts:97:108)
at c (index.ts:10:7)
at editor.ts:75:55
at Array.map (<anonymous>)
at editor.ts:75:45
at config.ts:18:13
at editor.ts:142:29
It doesn't work in my use case and even if I copy the receipt https://milkdown.dev/docs/recipes/react I still get the same error, so I think there is no need to share my code, but this is my packages.json:
Hi I have been using milkdown for a while and it all work great, recently when making some changes I noticed you released a new
kit
package which includes all the basic stuff, then I tried to upgrade my dependency to use the latest, but I see the below error after switching frommilkdown/core
tomilkdown/kit
:It doesn't work in my use case and even if I copy the receipt https://milkdown.dev/docs/recipes/react I still get the same error, so I think there is no need to share my code, but this is my packages.json:
and now I have reverted my change to a working version, which is: