Skip to content

Commit

Permalink
Render styles after the variation style overrides have been saved to …
Browse files Browse the repository at this point in the history
…stage.

Getting closer. But the overrides in state need to be merged with incoming revision styles.
  • Loading branch information
ramonjd committed Jun 24, 2024
1 parent 950f5c8 commit ad91fbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/edit-site/src/components/revisions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ function Revisions( { userConfig, blocks } ) {
name="revisions"
tabIndex={ 0 }
>
<EditorStyles styles={ editorStyles } />
<style>
{
// Forming a "block formatting context" to prevent margin collapsing.
Expand All @@ -88,6 +87,7 @@ function Revisions( { userConfig, blocks } ) {
settings={ settings }
>
<BlockList renderAppender={ false } />
<EditorStyles styles={ editorStyles } />
</ExperimentalBlockEditorProvider>
</Disabled>
</Iframe>
Expand Down

0 comments on commit ad91fbe

Please sign in to comment.