Skip to content

Commit

Permalink
Fix: Write Mode mode persists as enabled in widget editor.
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta committed Dec 4, 2024
1 parent 532b8e2 commit 7299949
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 7299949

Please sign in to comment.