Also, around toggle principles broadly... I notice that, when toggle/untoggle is performed on selected text, the text is deselected and the cursor is advanced. I'm curious why the text would not remain selected. Toggle/untoggle in-situ would require the text to still be selected.
Is it just an assumption that, once toggled/untoggled, the user doesn't need to reverse the decision and, in fact, just wants to move on? That, if the user wants to reverse the formatting, undo is a quicker option?
Several things going on here...
https://user-images.githubusercontent.com/3158787/178681638-e50b6d74-c9ae-4cc6-b236-746cd9f06e9f.mov
Also, around toggle principles broadly... I notice that, when toggle/untoggle is performed on selected text, the text is deselected and the cursor is advanced. I'm curious why the text would not remain selected. Toggle/untoggle in-situ would require the text to still be selected.
https://user-images.githubusercontent.com/3158787/178682689-1fd93fff-0058-4dc0-a631-ea5e3efd1305.mov
Is it just an assumption that, once toggled/untoggled, the user doesn't need to reverse the decision and, in fact, just wants to move on? That, if the user wants to reverse the formatting, undo is a quicker option?