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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论