-
Notifications
You must be signed in to change notification settings - Fork 384
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: move preview option to preview dropdown
- Loading branch information
1 parent
ff7ed30
commit eab2ae6
Showing
5 changed files
with
193 additions
and
134 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.
Oops, something went wrong.