Output separate stylesheets for block style overrides and enqueue/inline them only when the block is present on the front end.
~The only caveat to this is that there is no good way to enqueue different styles for the front and back end. So I'm still including the block styles in the editor stylesheet, which will pick up anything within context.is(editor).~
I've updated the PR so that separate block styles are enqueued only on the front end, and the block styles are included as before in the editor stylesheet. This way there aren't duplicate styles when viewing the editor.
Output separate stylesheets for block style overrides and enqueue/inline them only when the block is present on the front end.
~The only caveat to this is that there is no good way to enqueue different styles for the front and back end. So I'm still including the block styles in the editor stylesheet, which will pick up anything within
context.is(editor)
.~I've updated the PR so that separate block styles are enqueued only on the front end, and the block styles are included as before in the editor stylesheet. This way there aren't duplicate styles when viewing the editor.
Closes #65.