Skip to content
Next Next commit
Render styles after the variation style overrides have been saved to …
…stage.

Getting closer. But the overrides in state need to be merged with incoming revision styles.
  • Loading branch information
ramonjd committed Jun 27, 2024
commit 69b219e300aeae3ad4035ad527cc7654ace90a82
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