Please see below, a quick comparison between the post permalink buttons and the shared block button. Initially, the both display an "Edit" button with the same style:

Instead, when editing:

A few considerations:
/Cc @karmatosed
Good catch, I am always up for unifying where we can.
I would be totally up for having 'save' over 'ok' on both and remove cancel. Unless there are accessibility reasons to have also a cancel? If we removed 'cancel' we'd need to catch the 'not in input' as meaning not editing same as we have for permalinks.
Yeah, "Save" seems more appropriate to me too. No particular a11y reasons for the "Cancel" button I can think of: pressing Escape already closes the edit form. Yep it would need to close also when "clicking outside".
Should the primary style be removed? I guess so?
@afercia thanks and yes I agree it's not a primary action so removing that style makes sense.
Yeah, "Save" seems more appropriate to me too.
+1
@karmatosed can we make an actionable issue out of this?
Yes we are working on #7593 and close to a solution.
Most helpful comment
+1