MDN editor page controls - The MDN project 编辑

The page controls consist of buttons affecting the page as a whole. They are visible near both the top and the bottom of the editor view, to save excess scrolling. There are four page control buttons:

If you try to save your page and your changes are rejected as invalid, but the content is in fact appropriate for MDN, you should email the writing team for help getting your content posted.

Publish and keep editing
This button saves and publishes the page without closing the editor; this lets you periodically save your work, creating an entry in the page history that you can revert to if you need to, or in case you need to stop working and come back to it later. This option is not available when creating new pages. See The revision comment box to learn how to include a revision comment on your saved article.
Publish
This button saves and publishes the page and closes the editor, returning you to view the page in the standard browsing mode. See The revision comment box to learn how to include a revision comment on your saved article.
Preview
This button opens a new tab or window showing the page as it exists in your private editor, but rendered as it would appear if you were browsing it as if it were public. This includes executing any macros and templates you use within the content. Note that your work is not yet saved when you use this option. This button lets you check, before your changes are made public, so that you can see if there are any errors in your macros, templates, or formatting that may prevent the page from rendering correctly. If you do see scripting errors, refer to Troubleshooting scripting error while previewing a page.

Warning: Currently some macros and templates don't execute properly in Preview-mode, leaving the Preview page missing some of its content (such as sidebars), and thus with somewhat distorted page layout; i.e. not totally WYSIWYG. Further, if SCAYT is enabled (and possibly if the page contains certain valid macros or templates), Preview mode may still give a scripting error.


Discard
This feature cancels your edit, disposing of any changes you've made without saving them. You're returned to the page in the standard browsing mode.

Warning: Occasionally Discard can malfunction and start acting more like a partial "discard," undoing many of your changes without exiting the editor. If this happens to you, you should save, exit, and re-enter the editor.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:39 次

字数:3391

最后编辑:6年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文