Title: Mini Preview
Author: Gareth
Published: <strong>2021 年 3 月 9 日</strong>
Last modified: 2026 年 6 月 3 日

---

搜索插件

![](https://ps.w.org/mini-preview/assets/icon-256x256.png?rev=2490247)

# Mini Preview

 作者：[Gareth](https://profiles.wordpress.org/garethhadfield/)

[下载](https://downloads.wordpress.org/plugin/mini-preview.1.5.0.zip)

 * [详情](https://cn.wordpress.org/plugins/mini-preview/#description)
 * [评价](https://cn.wordpress.org/plugins/mini-preview/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/mini-preview/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/mini-preview/#developers)

 [支持](https://wordpress.org/support/plugin/mini-preview/)

## 描述

This WordPress plugin displays a mini preview window on the edit post or edit page
screen.

Mini Preview sits in the Page or Post tab when you are editing a page or post in
WordPress.

Buttons above the preview window provide for Refresh, various display sizes, and
preview in new tab.

The preview window is a fully functional, interactive mini browser showing exactly
what the page will look like, except in miniature.

## 屏幕截图

[⌊Mini Preview in the WordPress Page menu while editing a page.⌉⌊Mini Preview in
the WordPress Page menu while editing a page.⌉[

Mini Preview in the WordPress Page menu while editing a page.

## 安装

 1. Upload the plugin files to the `/wp-content/plugins/plugin-name` directory, or 
    install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress

## 常见问题

### Can I move the Mini Preview window?

Yes, the Mini Preview is draggable. You can drag it to change its place within the
meta boxes.

### How do I change the preview window size (resolution)?

The second button on the toolbar is the “Next Resolution” button. Clicking this 
button cycles through the resolutions.
 Alternatively, click the down arrow and 
the resolution menu will display. Click the resolution you wish to use.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Mini Preview」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Gareth ](https://profiles.wordpress.org/garethhadfield/)

「Mini Preview」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/mini-preview/contributors)
为本插件所做的贡献。

[帮助将「Mini Preview」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/mini-preview)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/mini-preview/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/mini-preview/)，或通过[RSS](https://plugins.trac.wordpress.org/log/mini-preview/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/mini-preview/)。

## 更新日志

#### 1.5.0

 * New pop-up preview modal button for a larger, focused preview overlay
 * Preview is now disabled for unsaved (new) posts with a clear waiting message
 * Bug fixes: more reliable refresh when autosave is in progress, improved Firefox
   keyboard shortcut detection, better handling of failed preview loads

#### 1.4.0

 * Security hardening: improved input validation, CSRF protection, and output escaping
 * i18n: Full internationalization — plugin text is now translatable
 * Removed external Font Awesome CDN dependency, now using WordPress Dashicons
 * Improved iframe content rendering and localStorage dimension validation
 * Refactored codebase for better maintainability

#### 1.3.2

 * Compatibility with WordPress 6

#### 1.3.1

 * Fix issue where shortcut keys were not working
 * Updated help text for shortcut keys

#### 1.3

 * Fix issue where admin bar was showing in previews
 * Added settings screen with help text and setting for hiding admin bar
 * Added shortcut keys to activate mini preview and bring it into view
 * Work around a bug in Safari where the preview window could be blank

#### 1.2

 * The mini preview window and [Preview in New Tab] now display the latest autosave
   draft
 * Clicking [Refresh] or [Preview in New Tab] now triggers an autosave and displays
   the result once autosave is complete
 * Holding CMD (mac) or CTRL (windows) while clicking [Preview in New Tab] skips
   the autosave and opens the tab immediately
 * Holding SHIFT+CMD (Mac) while clicking [Preview in New Tab] opens the new tab
   immediately and in the foreground
 * Holding CMD (mac) or CTRL (windows) while clicking [Refresh] skips the autosave
   and refreshes the mini preview window immediately
 * Prevent preview from displaying on non-block editor screens (no longer supported)
 * Fix issue where mini preview was blank in some cases
 * Fix issue where mini preview was not sized correctly in some cases
 * Fix issue with resolution menu not visible on iOS in Safari
 * Fix issue in Edge browser on Windows 10 where preview window would cause the 
   meta box area to expand

#### 1.1.1

 * Fix issue where menu button icons do not show up
 * Fix issue where preview window is not visible

#### 1.1

 * Tested up to WordPress version 5.7
 * Modify resolution buttons – buttons are now in a sub menu
 * Add “preview in new tab” button
 * Adjust icon positions on menu

#### 1.0

 * Initial Release

## 额外信息

 *  版本 **1.5.0**
 *  最后更新：**6 天前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/mini-preview/) 和 [English (US)](https://wordpress.org/plugins/mini-preview/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/mini-preview)
 * 标签
 * [desktop](https://cn.wordpress.org/plugins/tags/desktop/)[editor](https://cn.wordpress.org/plugins/tags/editor/)
   [mobile](https://cn.wordpress.org/plugins/tags/mobile/)[preview](https://cn.wordpress.org/plugins/tags/preview/)
   [responsive](https://cn.wordpress.org/plugins/tags/responsive/)
 *  [高级视图](https://cn.wordpress.org/plugins/mini-preview/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/mini-preview/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/mini-preview/reviews/)

## 贡献者

 *   [ Gareth ](https://profiles.wordpress.org/garethhadfield/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/mini-preview/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://opdiv.com/donate)