Skip to content

Commit

Permalink
Checking for preview mode (another way of saying canvasMode === 'view…
Browse files Browse the repository at this point in the history
…', or the editor view is not currently editable) when rendering the editor canvas container slot is a regression. Removing. (#62212)

Co-authored-by: ramonjd <[email protected]>
Co-authored-by: t-hamano <[email protected]>
Co-authored-by: youknowriad <[email protected]>
  • Loading branch information
4 people authored and ellatrix committed Jun 11, 2024
1 parent 0558429 commit a14852c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/editor/src/components/editor-interface/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export default function EditorInterface( {

<EditorContentSlotFill.Slot>
{ ( [ editorCanvasView ] ) =>
! isPreviewMode && editorCanvasView ? (
editorCanvasView ? (
editorCanvasView
) : (
<>
Expand Down

0 comments on commit a14852c

Please sign in to comment.