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 and michalczaplinski committed Dec 5, 2024
1 parent be6bb82 commit 0768683
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

0 comments on commit 0768683

Please sign in to comment.