How to wrap the Gutenberg editor in a custom React component?



For the custom Gutenberg blocks I’m creating, I’d like to use React components from a third party UI library. These components depend on a shared ContextProvider being available somewhere high up in the component tree.


How to wrap the Gutenberg editor (within WordPress, if that makes any difference) in a ContextProvider, or any other component for that matter?

Willem-Aart 3 months 2020-11-21T15:10:29-05:00 0 Answers 7 views 0

Leave an answer