youknowriad / blockbook

Build and Share WordPress Blocks in Isolation.
http://youknowriad.github.io/blockbook/
GNU General Public License v3.0
160 stars 17 forks source link

Add theme styles in Editor #62

Closed kmonahan closed 2 years ago

kmonahan commented 2 years ago

Includes the styles from the currently selected theme in the Editor view of the block. Note that to get this working, I did have to rely on the EditorStyles component, which is currently marked unstable. It still seemed safer than trying to replicate the work to transform the CSS myself. I also removed the <DropZoneProvider> from the editor while I was at it, as I was getting notices in the console that it was deprecated and could be safely removed.

youknowriad commented 2 years ago

Hey @kmonahan these days, you're more active than me in the project. I'm happy to add you as a collaborator here and in the npm package (to be able to publish updates), if that's something you'd be interested in.

kmonahan commented 2 years ago

@youknowriad Yes, please, I'd love to be a collaborator

youknowriad commented 2 years ago

Sent you an invite on GitHub, what's your npm username?

kmonahan commented 2 years ago

Thanks! I'm kjmonahan on npm