Automattic / sensei

Sensei LMS - Online Courses, Quizzes, & Learning
https://senseilms.com
GNU General Public License v2.0
539 stars 198 forks source link

Pagination using "nextpage" does not work with Sensei lessons #2172

Open alexsanford opened 6 years ago

alexsanford commented 6 years ago

Steps to Reproduce

  1. Create a new lesson or edit an existing one.
  2. In the Editor, choose the "Text" view
  3. Between some paragraphs, add the <!--nextpage--> marker to indicate that the content should be paginated.
  4. Save and view the lesson on the frontend.

What I Expected

To see pagination links in the content, or at least to see the full content (i.e. for pagination to be ignored)

What Happened Instead

Only the content up to the first <!--nextpage--> was displayed.

jcmason4 commented 6 years ago

This issue only occurs when a page builder plug-in (WPBakery Page Builder [formerly Visual Composer}, Elemental, etc) is installed and active.

Steps to reproduce need one additional step

  1. Install and activate a page builder plug-in
  2. Create a new lesson or edit an existing one.
  3. In the Editor, choose the "Text" view
  4. Between some paragraphs, add the marker to indicate that the content should be paginated.
  5. Save and view the lesson on the frontend.

What I Expected To see pagination links in the content, or at least to see the full content (i.e. for pagination to be ignored)

What Happened Instead Only the content up to the first was displayed.

MORE: Disable the page builder plug-in and pagination occurs in the frontend display at the marker(s).

jenhooks commented 6 years ago

I wasn't using a page builder on my test site when I reproduced this, FYI.

jcmason4 commented 6 years ago

I'm the user who submitted this bug. Any updates?

donnapep commented 6 years ago

@jcmason4 We have this scheduled for the 1.12.1 release. The 1.12.0 release is due out in a couple of weeks. After that, we'll start working on 1.12.1. Thx!