Off-by-one loses latest revision

Context

I’m not sure whether it’s Discourse Shared Edits or the #wiki-posts feature, since both were enabled on this particular post to avoid one editor making others’ changes obsolete.

So one post with both wiki and shared edits enabled…

Bug description

Editor A makes revision 55 and presses “Done”.

Editor B goes straight to the revision history to see changes. Revision count shows 54 / 55, but there is no way to access revision 55. Once editor B has made a change, it was against revision 54, effectively removing revision 55 entirely.

Bug resolution

There is no way to circumvent this. Having multiple editors at once for a single post is not supported by the wiki mode, but shared edits seem to create this bug with wiki revisions. It would be nice to be able to use both (in the way that HedgeDoc does it), or to neutralize potential misfit between the two editing modes.