You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure this should be filed under furls instead, but I feel that this issue is more relevant in the context of this particular app, so I'll put this here.
Select the "Puzzle font" to see an alternative view, and select the "Solved font" radio after that. (Note: This doesn't seem to work right now, at least in my Firefox, for your information. But anyway...)
Replace hello world with Hello, world!, and roll back with Ctrl-Z or equivalent because punctuations are not supported.
This generates an enormous number of history entries: 1, 11, 2 and 4 for each step to be exact. Most of them are redundant and do not have to be saved at all. As is, they effectively render the entire history unusable.
I personally prefer to have only one additional entry after the initial load, that is, pushState initially and replaceState from that point on (unless the new state was reverted, in which case pushState again). Of course that's my opinion, and you may instead save the state for each step. But my point is that, at least for textareas, each input (as in oninput) needs not generate a new history entry, especially because even an undo counts as a single additional input, and onchange should be used instead for this purpose.
The text was updated successfully, but these errors were encountered:
I'm not sure this should be filed under furls instead, but I feel that this issue is more relevant in the context of this particular app, so I'll put this here.
Imagine the following sequence of actions:
text
withhello world
.hello world
withHello, world!
, and roll back withCtrl-Z
or equivalent because punctuations are not supported.This generates an enormous number of history entries: 1, 11, 2 and 4 for each step to be exact. Most of them are redundant and do not have to be saved at all. As is, they effectively render the entire history unusable.
I personally prefer to have only one additional entry after the initial load, that is,
pushState
initially andreplaceState
from that point on (unless the new state was reverted, in which casepushState
again). Of course that's my opinion, and you may instead save the state for each step. But my point is that, at least for textareas, each input (as inoninput
) needs not generate a new history entry, especially because even an undo counts as a single additional input, andonchange
should be used instead for this purpose.The text was updated successfully, but these errors were encountered: