Hilfe:Erweiterung:WikiEditor/Echtzeitvorschau
Realtime Preview is a feature within WikiEditor that allows you to preview your changes in realtime as you are typing. It was created by the Wikimedia Foundation's Community Tech team in response to the #4 wish in the 2021 Community Wishlist Survey.
Verwendung
Stelle zuerst sicher, dass du den WikiEditor aktiviert hast. Suche in deinen Einstellungen für die Einstellung "Bearbeiten-Werkzeugleiste aktivieren". Bemerke, das die Echtzeitvorschau nicht mit den Wikitexteditor 2017 kompatibel ist.
Fange eine Bearbeitung an. Du kannst nun bemerken, dass du einen "Vorschau"-Knopf in der Werkzeugleiste finden kannst. Clicking this will activate Realtime Preview. Once activated, a preview pane is shown next to the editor. It will update anytime you stop typing. You can also hover over the preview area and click on the "Neu laden" button to manually reload changes, or use the ")" access key.
The editing and preview panes can be resized by dragging the middle dividing bar to the left or right. The height of both can also be adjusted by dragging the bottom resizing border.
Beschränkungen
- Absolutely positioned elements are shown relative to the preview area and not the entire page. If you need to test what your changes look like for the entire page, use the normal "Vorschau zeigen" button. (phab:T310064)
- When using both Realtime Preview and the normal preview, some user interaction requiring JavaScript might apply to only one preview area and not the other, such as the "show" and "hide" links on collapsible content. (phab:T307475)
- If your browser window is too narrow, the feature is automatically disabled and you will have to use the normal "Vorschau zeigen" button to preview your changes.
Hiding the button
If you do not want the "Vorschau" button to appear in your toolbar, you can hide it by adding the following to your common.css:
.tool[rel="realtimepreview"] {
display: none;
}