Page MenuHomePhabricator

New topic tool may trigger an infinite loop in Realtime Preview
Closed, DuplicatePublicBUG REPORT

Description

Prerequisite:

  • Make sure you have enabled Realtime Preview in Beta features.
  • Make sure your default editor is wikitext 2010 editor, not visual editor or wikitext 2017 editor.
  • Make sure you have toggled Realtime Preview in the edit box (like in the picture below).

screenshot 2022-10-21 122343.png (604×1 px, 134 KB)

Steps to replicate the issue:

  • Start a new discussion via the "New section" tab. Fill in the title and body.
  • Directly switch to the wikitext editor. Realtime Preview should be already activated, and discussion tool attempts to recover unsaved new section.
  • Enjoy an endless loop of "Changes recovered" :)

screenshot 2022-10-21 122615.png (928×1 px, 128 KB)