I just tested this locally, and I see it working for content published from the backend, but seemingly not for content published through front-end forms.
I need this to work for content created with front end forms. This should show the last person who edited this post, be it create (first time) or any subsequent edits, all from front end.
I've escalated this to see whether it is something the developers will add to Forms, though it's essentially a feature request and I'm not sure how long it may take to be implemented assuming it is accepted.
So in the meantime you would need to use the Forms API, such as the cred_save_data hook, to add/update that hidden custom field "_edit_last" with the ID of the current user submitting the form.
It's not the native WordPress function that is the problem, that works.
The problem is that when you publish content from the backend WordPress adds a hidden custom field "_edit_last" to the post which records the user that last made an edit, which is what the function retrieves in order to display the last editor of the post.
But content created programmatically, using wp_insert_post, for example, doesn't add that hidden custom field.
So content submitted through front-end forms—which would typically use wp_insert_post—don't get that hidden custom field added.
I just checked and it's the same with Gravity Forms, for example, and I suspect you would find the same with all other form plugins.
The problem with using a hidden generic field with that slug is that you could provide the ID of the current user as the default value for the post publish form, but it wouldn't work in post edit forms if the post was edited by someone else.
The API hook is the way to go.
That array is an array of form IDs of the forms this should be applied to.
If you go to Toolset > Post Forms you will see the IDs of each of your forms.