mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-27 14:59:27 +08:00
fix(vue-3): copy missing provided parent values (#5396)
Co-authored-by: relchapt <reynald.lechapt@getmayday.co>
This commit is contained in:
parent
a1c5120a4d
commit
940f9d5266
@ -46,11 +46,11 @@ export const EditorContent = defineComponent({
|
||||
if (instance) {
|
||||
editor.appContext = {
|
||||
...instance.appContext,
|
||||
provides: {
|
||||
provides: Object.assign(
|
||||
instance.appContext.provides,
|
||||
// @ts-ignore
|
||||
...instance.provides,
|
||||
...instance.appContext.provides,
|
||||
},
|
||||
instance.provides,
|
||||
),
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user