You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One issue I often run into is getting "unsaved changes" warnings.
I think it comes from saving the markdown, then the backend doing its own formatting, and returning it back to you slightly different (e.g. adding the optional "alt text" field as an empty string in links).
The easiest way to repro:
Create a card.
Add a line of description text (with a trailing space at the end of the line).
Save (or just do CTRL-Enter)
Click out of the card
Re-open the card
It will have the "unsaved message" warning. If you look at the text, it will be missing the trailing space.
If I discard the unsaved change, it puts the trailing space back, so presumably, the original text is available somewhere. I think what's happening is, you're saving the text as-is, but using the output from the "view markdown" link on the WYSIWYG editor when loading, which is formatting the markdown, and when you load that in the card somewhere, it detects the diff. The main thing still gets saved, it just gets altered when it reloads it.
I'm not sure if there's a clean and safe way to work around this. I definitely wouldn't want you to hide those warnings or forcefully discard changes, as that might result in data loss.
The text was updated successfully, but these errors were encountered:
Thanks again for building this awesome extension!
One issue I often run into is getting "unsaved changes" warnings.
I think it comes from saving the markdown, then the backend doing its own formatting, and returning it back to you slightly different (e.g. adding the optional "alt text" field as an empty string in links).
The easiest way to repro:
It will have the "unsaved message" warning. If you look at the text, it will be missing the trailing space.
If I discard the unsaved change, it puts the trailing space back, so presumably, the original text is available somewhere. I think what's happening is, you're saving the text as-is, but using the output from the "view markdown" link on the WYSIWYG editor when loading, which is formatting the markdown, and when you load that in the card somewhere, it detects the diff. The main thing still gets saved, it just gets altered when it reloads it.
I'm not sure if there's a clean and safe way to work around this. I definitely wouldn't want you to hide those warnings or forcefully discard changes, as that might result in data loss.
The text was updated successfully, but these errors were encountered: