-
Notifications
You must be signed in to change notification settings - Fork 383
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7914 from rtCamp/feature/7896-refactor-amp-previe…
…w-button Relocate AMP Preview Button
- Loading branch information
Showing
11 changed files
with
5,646 additions
and
5,531 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/** | ||
* Internal dependencies | ||
*/ | ||
import { AMPFilledIcon } from '../../icons'; | ||
import AmpPreviewMenuItem from '../components/preview-menu-item'; | ||
|
||
export const name = 'amp-preview-menu-item'; | ||
|
||
export const icon = ( | ||
<AMPFilledIcon viewBox="0 0 62 62" height={18} width={18} /> | ||
); | ||
|
||
export const onlyPaired = true; | ||
|
||
export const render = AmpPreviewMenuItem; |
68 changes: 0 additions & 68 deletions
68
assets/src/block-editor/plugins/wrapped-amp-preview-button.js
This file was deleted.
Oops, something went wrong.
16 changes: 8 additions & 8 deletions
16
assets/src/components/amp-setting-toggle/test/__snapshots__/index.js.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
14 changes: 7 additions & 7 deletions
14
assets/src/components/dev-tools-toggle/test/__snapshots__/index.js.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
12 changes: 6 additions & 6 deletions
12
assets/src/components/loading/test/__snapshots__/loading.js.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
8 changes: 4 additions & 4 deletions
8
assets/src/components/redirect-toggle/test/__snapshots__/redirect-toggle.js.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.