sensei icon indicating copy to clipboard operation
sensei copied to clipboard

Page break doesn't work without Learning Mode

Open merkushin opened this issue 2 years ago • 2 comments

Steps to Reproduce

  1. Go to Sensei LMS, create a course with lessons.
  2. In a lesson add a few paragraphs. Add Page Break blocks between paragraphs.
  3. Publish the course and lessons.
  4. Open the lesson on the frontend (LM enabled).
  5. Make sure you can see content only before the first page break block and pagination links.
  6. Go to Sensei LMS > Settings > Appearance. Disable Learning Mode.
  7. Open the lesson on the frontend again.

What I Expected

I expected to see only the first paragraph and pagination.

What Happened Instead

I see only the first paragraph and no pagination.

PHP / WordPress / Sensei LMS version

PHP 7.4 / WordPress 6.3 / Sensei LMS

Browser / OS version

Chrome 117.0.5938.132 / macOS Ventura 13.6

Screenshot / Video

With Learning Mode

Image

Without Learning Mode

Image

Context / Source

p1696157537322739-slack-C02P7FHLVR9

merkushin avatar Oct 02 '23 13:10 merkushin

Also reported in 7706167-zd-a8c (sensei bundle user on dotcom)

I could reproduce this issue on a Pressable (self-hosted) site as well.

Pagination works with Learning Mode enabled. With learning mode disabled, it doesn't work.

p1708104269767839-slack-C02P7FHLVR9

jinnypark avatar Feb 19 '24 17:02 jinnypark

Support References

This comment is automatically generated. Please do not edit it.

  • [ ] 7706167-zen

github-actions[bot] avatar Feb 19 '24 17:02 github-actions[bot]