Skip to content

Commit

Permalink
Fix: Write Mode mode persists as enabled in widget editor. (#67587)
Browse files Browse the repository at this point in the history
Co-authored-by: jorgefilipecosta <[email protected]>
Co-authored-by: talldan <[email protected]>
  • Loading branch information
3 people authored Dec 5, 2024
1 parent e8a7463 commit 600218e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export default function SidebarBlockEditor( {
mediaUpload: mediaUploadBlockEditor,
hasFixedToolbar: isFixedToolbarActive || ! isMediumViewport,
keepCaretInsideBlock,
editorTool: 'edit',
__unstableHasCustomAppender: true,
};
}, [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ export default function WidgetAreasBlockEditorProvider( {
__experimentalSetIsInserterOpened: setIsInserterOpened,
pageOnFront,
pageForPosts,
editorTool: 'edit',
};
}, [
hasUploadPermissions,
Expand Down

1 comment on commit 600218e

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 600218e.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/12173948337
📝 Reported issues:

Please sign in to comment.