Like on pages, using respectively alt+shift+E and alt+shift+V.
|Resolved||Esanders||T155861 Migrate Flow to use the integrated VE/WT editor widget when it exists|
|Open||None||T183382 Have a way to switch back from preview mode to wikitext mode in Structured discussions|
|Open||None||T184701 StructuredDiscussions message editing should support some shortcuts to switch between editors|
We could add these shortcuts easily, but it would probably be good for VE itself to also have shortcuts for switching between visual and source mode, and for those shortcuts to be the same between SD and VE. In VE, alt+shift+V is already bound to "Review your changes" (it opens the save dialog and switches it to the diff panel), so we'd have to come up with something else.