Skip to content

Commit

Permalink
Launchpad: Update tasks to redirect into site-editor edit mode (#72339)
Browse files Browse the repository at this point in the history
* Pass site-editor canvas mode query param to iframe

* Update launchpad site-editor navigation

* Default to site editor "edit-mode"

* Revert site editor route changes
  • Loading branch information
agrullon95 authored Jan 20, 2023
1 parent 768babb commit 00b4232
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/gutenberg/editor/calypsoify-iframe.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -811,6 +811,7 @@ const mapStateToProps = (
...pressThisData,
answer_prompt: getQueryArg( window.location.href, 'answer_prompt' ),
completedFlow,
canvas: 'edit', // Load side editor in edit mode instead of displaying sidebar by default (Gutenberg v15.0.0)
} );

// needed for loading the editor in SU sessions
Expand Down

0 comments on commit 00b4232

Please sign in to comment.