Skip to content

Commit

Permalink
Site Editor: remove redundant style-edit route (#67057)
Browse files Browse the repository at this point in the history
Co-authored-by: ramonjd <[email protected]>
Co-authored-by: tellthemachines <[email protected]>
  • Loading branch information
3 people authored Nov 18, 2024
1 parent 49401da commit 5d0d155
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Areas

When `canvasMode` is not `edit`, the areas avaliable to use are:
When `canvasMode` is not `edit`, the areas available to use are:

| Area | Non-mobile viewport | Mobile viewport |
| --- | --- | --- |
Expand All @@ -12,7 +12,7 @@ When `canvasMode` is not `edit`, the areas avaliable to use are:
| `edit` | Rendered if provided. | Not rendered. |
| `mobile` | Not rendered | Rendered as full-screen, if provided. |

When `canvasMode` is `edit`, the areas avaliable to use are:
When `canvasMode` is `edit`, the areas available to use are:

| Area | Non-mobile viewport | Mobile viewport |
| --- | --- | --- |
Expand Down
2 changes: 0 additions & 2 deletions packages/edit-site/src/components/site-editor-routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import { navigationViewRoute } from './navigation-view';
import { navigationEditRoute } from './navigation-edit';
import { navigationItemEditRoute } from './navigation-item-edit';
import { navigationItemViewRoute } from './navigation-item-view';
import { stylesEditRoute } from './styles-edit';
import { stylesViewRoute } from './styles-view';
import { patternsEditRoute } from './patterns-edit';
import { patternsViewRoute } from './patterns-view';
Expand All @@ -40,7 +39,6 @@ const routes = [
patternsViewRoute,
patternsEditRoute,
stylesViewRoute,
stylesEditRoute,
navigationItemViewRoute,
navigationItemEditRoute,
navigationViewRoute,
Expand Down

This file was deleted.

1 comment on commit 5d0d155

@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 5d0d155.
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/11886389337
📝 Reported issues:

Please sign in to comment.