mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-08-06 13:38:49 +08:00
Update Context.tsx (#5102)
This commit is contained in:
parent
ca4f13461e
commit
3a21bc1d2f
@ -18,7 +18,7 @@ export const EditorConsumer = EditorContext.Consumer
|
||||
export const useCurrentEditor = () => useContext(EditorContext)
|
||||
|
||||
export type EditorProviderProps = {
|
||||
children: ReactNode;
|
||||
children?: ReactNode;
|
||||
slotBefore?: ReactNode;
|
||||
slotAfter?: ReactNode;
|
||||
} & Partial<EditorOptions>
|
||||
|
Loading…
Reference in New Issue
Block a user