User talk:Dixtosa/AjaxEdit.js

Live preview
Hmm, I like the live preview idea, but at the moment it's frustrating: it appears when you put your mouse over "Live preview", but disappears otherwise. Also, it seems to be bolded, which is strange. — Eru·tuon 23:19, 26 May 2017 (UTC)
 * Yes that's how I wanted it to work. If your cursor is active you can move your mouse to the "Live preview" text without un-focusing the cursor. What's the problem?--Dixtosa (talk) 00:01, 27 May 2017 (UTC)
 * Okay, okay, it really is frustrating xD. I am going to place a checkbox there instead of a hoverable text. --Dixtosa (talk) 08:06, 28 May 2017 (UTC)

Gadgetification
This could be a gadget because. But maybe that would require ES5-ifying it, and then if you kept your own ES6 version, it would be complicated to update... — Eru·tuon 22:02, 8 January 2019 (UTC)

Well, anyway, I made it (MediaWiki:Gadget-AjaxEdit.js) using Babel to compile an ES5-compatible version. — Eru·tuon 00:00, 9 January 2019 (UTC)
 * Dixtosa's .js stopped working for me recently (no later (edit: no earlier) than Feb 3, according to my Contributions), but Erutuon's gadget brings the button back. Is that expected?__Gamren (talk) 23:22, 9 February 2019 (UTC)
 * I was puzzled because nothing changed in the script, but it turned out that removing a deprecated dependency fixed it. I guess the dependency wasn't loading and this prevented the main part of the script from ever running. Maybe they upgraded the deprecation to something else (edit: apparently so in this change), because it used to be that trying to load that dependency displayed a message in the browser console. — Eru·tuon 23:56, 9 February 2019 (UTC)

Bug: blocked save is equivalent to a successful save: the edit box disappears
See title. should be treated the same as, and the edit box should not vanish.

This can be tested by trying to add an empty header, which is blocked by an abuse filter. —Suzukaze-c (talk) 10:40, 24 October 2020 (UTC)
 * Fixed thanks. I have updated the gadget too. Dixtosa (talk) 17:20, 27 October 2020 (UTC)