Jump to content

Hilfe:Erweiterung:WikiEditor/Echtzeitvorschau

From mediawiki.org
This page is a translated version of the page Help:Extension:WikiEditor/Realtime Preview and the translation is 32% complete.
Nicht zu verwechseln mit: Manual:Live preview.

Realtime Preview is a feature within WikiEditor that allows you to preview your changes in realtime while 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 wikitext editing area. It will update every time you stop typing.

There is also a Neu laden button available in the toolbar (next to the Vorschau button) that can be used to manually reload changes. The ) access key can also be used for this purpose. Manual reloading may be useful after making changes in separate browser tabs for example, to see the changes applied to the current page. The Neu laden button previously would only appear when hovering on the preview pane, and some documentation may still refer to that.

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. Your size preferences are stored in your browser, and will be maintained for future editing sessions (this is a per-device preference, because screen sizes can vary between devices).

Beschränkungen

  • Absolutely positioned elements are shown relative to the entire page, and not just the preview pane. If you need to test what your changes look like for the entire page, use the whole-page Vorschau zeigen button. (phab:T310064)
  • When using both realtime preview and the whole-page 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, realtime preview is automatically disabled and you will have to use the whole-page 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;
}