VisualEditor/Single edit tab/zh





How many Edit tabs do you want? It's your choice.

The single edit tab project will simplify the user interface for most editors by giving them only one edit tab, rather than the current two. The Edit tab will open the editing system that the contributor prefers.

The visual editor is a rich-text editor that is used to edit Wikipedia and other sites. With this enabled, it is possible to use either the visual editor or the wikitext editor to change most pages. Since 2013, these editing systems have been accessed by displaying two edit tabs on each Wikipedia article or other wiki page.

Requirements
You must have access to the visual editor enabled to see these options or to set your preferences. You will not see these options if any of the following are true:
 * You have disabled access to the visual editor in your account's preferences.
 * You are using the mobile website.
 * Your current computer or web browser does not support the visual editor (e.g., because Javascript is disabled).
 * You are logged out while editing a wiki that does not give IP editors direct access to the visual editor (e.g., the English Wikipedia, Meta, and most non-Wikipedia sister projects).

Choosing your preferences
If you are logged in to your account, and if you have access to the visual editor, you will be asked to set your preferences the next time you edit. You will see this dialog box:





You can set or change these preferences at any time, by going to Special:Preferences and choosing the option you want from the dropdown menu.

The available options will be:
 * , and
 * , and
 * , and

What it will look like if you're logged in
Logged-in editors can choose the appearance they prefer.

What it will look like if you're logged out
Logged-out editors (also called "IP editors") will always see one Edit tab at the top of the page:

For section editing, they will always see one Edit button:

On some wikis, logged-out editors will start in the visual editor, unless they have switched. At other wikis, logged-out editors will start in the wikitext editor, unless they have switched. The system will remember if editors switch to the other editing system (until cookies are cleared). For future edits, the Edit tab will lead to whichever editing system the logged-out editor used last.

If logged-out editors at that wiki begin in the visual editor, then the Welcome screen will offer them the immediate option to switch to the wikitext editor.

They can also switch to the wikitext editor after opening the page in the visual editor, by clicking the  icon in the toolbar.

If logged-out editors at that wiki begin in the wikitext editor, then they will not see a Welcome screen or have an opportunity to choose the visual editor first. Instead, the wikitext editor will open. Editors may have an option to switch to the visual editor after starting in the wikitext editor, by clicking the pencil icon in the corner of the wikitext icon.

How to use both


All editors have access to the wikitext editor, and all users of the visual editor can click the  button in the toolbar to switch to wikitext at any time.

If you have access to the visual editor, then you can switch between the visual and wikitext editors without saving and exiting first. This is convenient if you want to use the other editing system for a change that is easier in the other editor, such as deleting a column from a table (easier in the visual editor) or changing the name of a template (easier in the wikitext editor).

See Help:VisualEditor/User guide for more information.