-
Notifications
You must be signed in to change notification settings - Fork 13
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
Rich Editor: Formatting lost #607
Comments
@eduardoboucas have been testing the link in the PR #608 Some observations: Create an article with some rich text and save - get the following: Exit article then select from article list again gets: Ordered/Unordered lists - create and save gives: Exit article then select from article list again gets: Toggle code button - press code button, enter text, hit enter. Click code button again to toggle off - text is cleared as below: |
Thanks for the feedback, @davidmacp. Here's the current state of things.
If I understand correctly, the only problem here was that the underline formatting was being lost when saving. This was actually an oversight from us, because there is no support for underline in Markdown so the button shouldn't even be there. I have removed it in #608.
I wasn't able to replicate this. Could you provide more info on how to trigger the error?
This is a known issue, captured in #561.
I have created a new issue for this: #620. |
@davidmacp Based on the message above, can you please test all the cases on |
@eduardoboucas ^ the lists one - I can see the known issue as you have referenced. Does this also affect the fact that bullet (unordered) points get changed to numbered (ordered) lists after saving, exiting, then going in to edit again? Create numbered list followed by bullet list, then |
The problem you're seeing is that contiguous lists in Markdown are merged into one. That is part of the spec. If you change your test case to include some non-list text in between the ordered and unordered lists, it should behave as expected. If not, please reopen. |
Expected behavior
User creates and saves document using Rich Editor features/formatting. When accessing/editing the document again the formatting of text is retained.
Actual behavior
User creates and saves document using Rich Editor features/formatting. When accessing/editing the document again the formatting of text has been lost.
On saving:
On exiting and then selecting to edit:
Steps to reproduce the problem
Package details
1.0.14-beta
The text was updated successfully, but these errors were encountered: