Skip to content
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

[TC_AUTHOR_53]: Text Xblock does not save paragraph break formatting when the table is followed by text #370

Closed
yuliiazubak opened this issue May 28, 2024 · 7 comments
Labels
enhancement Relates to new features or improvements to existing features redwood release testing Affects the upcoming release (attention needed)

Comments

@yuliiazubak
Copy link

Release

Redwood

Expected behavior

The saved version of the xblock should retain the same formatting Instructor created for the xblock. The text after the table should be displayed with the new paragraph.
Text xblock editing

Actual behavior

The saved version does not retain the paragraph break after the table. The text added after the table appears immediately after the table without any paragraph break.
student view
Studio xblock view

Steps to reproduce

  1. In Studio select an option to edit Text xblock.
  2. Add a Table to the body of the Xblock.
  3. Add a paragraph after the table.
  4. Add text.
  5. save Xblock

Additional information

Tried adding multiple paragraph breaks and horizontal lines in between the table and the text, but the result was always the same - upon saving the xblock, the formatting is as in the screenshots.

@yuliiazubak
Copy link
Author

label: release testing

@github-actions github-actions bot added the release testing Affects the upcoming release (attention needed) label May 28, 2024
@mariajgrimaldi
Copy link
Member

Thanks for the report! I couldn't replicate this on the redwood sandbox:
image

Am I missing something in the setup?

@yuliiazubak
Copy link
Author

Not sure what can be wrong with the setup. If it's helpful, please, find the link to the unit in the sendbox - https://studio.redwood.demo.edly.io/container/block-v1:openedx+redwood-testing+demo+type@vertical+block@4773278f08e14643973fa548b952cc61#block-v1:openedx+redwood-testing+demo+type@html+block@fc6cada4b924423d8cdb1f5205fed913

2024-05-31.09-57-58.mp4

@mariajgrimaldi
Copy link
Member

Thank you! Now I can confirm it's happening. Here's the exported course so we can use it for testing:
course.kv5s4klf.tar.gz

I'll open an issue in the corresponding repo.

@mariajgrimaldi
Copy link
Member

I tested the same setup in the legacy editor, and it also happens there. I think this might be a misuse of the editor. Could you try other examples of tables and breaklines?

@yuliiazubak
Copy link
Author

I tried other examples of tables and breaklines, but the issues did not occur for me this time

@mariajgrimaldi
Copy link
Member

Thank you for testing those out! I'll close this issue since we cannot reproduce it with other configurations. In any case, it can be reopened if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Relates to new features or improvements to existing features redwood release testing Affects the upcoming release (attention needed)
Projects
Development

No branches or pull requests

2 participants