openedx / wg-build-test-release

Open edX Build / Test / Release Working Group
24 stars 14 forks source link

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

Closed yuliiazubak closed 3 weeks ago

yuliiazubak commented 1 month ago

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 commented 1 month ago

label: release testing

mariajgrimaldi commented 1 month ago

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

Am I missing something in the setup?

yuliiazubak commented 1 month ago

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

https://github.com/openedx/wg-build-test-release/assets/171051201/d894d578-95db-4859-8de1-2f829d5dea50

mariajgrimaldi commented 4 weeks ago

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 commented 4 weeks ago

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 commented 3 weeks ago

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

mariajgrimaldi commented 3 weeks ago

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.