-
-
Notifications
You must be signed in to change notification settings - Fork 11.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversion might cause data loss #97
Comments
Yes, this is how Markdown Here works. Issue #33 discusses at least warning when losing changes, or converting the modified HTML back to MD.
What application/site are you referring to? But, generally, yes, if the editor isn't an ordinary rich editor (like some of the write-raw-HTML modes I've seen), then there's going to be a problem.
I see. I created a separate issue for this bug: #125
I created a separate issue for this: #126. And to quote myself: This is complicated by the fact that rendering can be done piecemeal via selection. So a compose area can be partly rendered and partly unrendered. There could be a third button state to indicate this.
Yep. I mention in the README to be cautious of undo (although for Gmail). Maybe it's possible for an extension to push an edit into Thunderbird's undo history? I did some googling and couldn't find anything, but it seems like it should be possible. I'm closing this issue, since I broke out the individual issues. Feel free to make more issues as you find them. |
When using pure HTML in Thunderbird, when you toggle "Markdown Here", it doesn't convert in into, let's say, HTML flavored text (e.g. '''' font color="red" '''' [...] '''' /font ''''). When you untoggle, the HTML tag disapears and the text is rendered... |
That's busted behaviour. I created a new issue for it: #133
Markdown Here's default styling doesn't specify a font (on purpose). But it's pretty easy to set one yourself -- instructions here: https://github.com/adam-p/markdown-here/wiki/Tips-and-Tricks#wiki-mainfont |
Thanks for the fast reply, Adam. ^_^ 2013/10/22 Adam Pritchard notifications@github.com
“Thinking of you, wherever you are. We pray for our sorrows to end, and Kingdom Hearts 2 |
If you modify the text when you're in the converted state, and click MarkdownHere button to convert back to original text again, you will risk losing some or even all of your text!
If you enabled HTML source editor mode and click MarkdownHere button in HTML source editor window, you will risk losing all your input text.
If you save the draft message and open it again for further editing, MarkdownHere may convert the text into wrong format of quoted block, because Thunderbird will beautify the HTML code with indention and MarkdownHere can't handle it correctly.
Solution: The HTML text should be converted back to plain text, before formatting them with Markdown. You can do it manually by copying the text, then Ctrl+Shift+V to paste plain text, then click MarkdownHere button to format them.
There should be a transform status feedback, when switching on and off of Markdown conversion. eg, MarkdownHere button pressed down or released up.
Conversion done by MarkdownHere is NOT recorded in Thunderbird undo history, so you can NOT revert it by pressing Ctrl+Z to undo the edit! This will cause data loss if you're not cautious when using MarkdownHere.
The text was updated successfully, but these errors were encountered: