Enable lossless markdown editing with Extensible Events #1493
Labels
A-Composer
A-Message-Editing
O-Occasional
Affects or can be seen by some users regularly or most users rarely
S-Minor
Impairs non-critical functionality or suitable workarounds exist
T-Enhancement
T-Task
Tasks for the team like planning
X-Needs-Product
More input needed from the Product team
X-Spec-Changes
Your use case
With MSC1767, it is now possible to represent events in more formats than plain + HTML, this would enable also sending/setting the raw markdown into the event itself, as it's being sent out;
Or alternatively (with an MSC);
This would preserve the markdown perfectly, and allow seamless editing without a long tail of lossy html-to-markdown conversion errors (such as element-hq/element-web#12535, element-hq/element-web#17242, etc.)
This would fix element-hq/element-web#10725
This would be extra duplication per message, but until/unless the matrix ecosystem as a whole goes off of HTML, this is unavoidable.
This solution would allow some compatible viewing of events, but an edit of a non-markdown-aware client on such an event like this would still make a lossy conversion of the HTML, instead of using the markdown in full.
Have you considered any alternatives?
Immediate jump to GFM (#330) while speccing the GFM ExtEv keys as well;
The above, but GFM
Or alternatively;
Additional context
No response
The text was updated successfully, but these errors were encountered: