Describe the bug
When creating lesson content, an admin can add code text. It shows up when creating the lesson but disappears on the student side once it is published. On the admin side, the code text is still present.
To Reproduce
Steps to reproduce the behavior:
Login as an admin
Create a Lesson or Edit Problem 1 - Top-Down Approach under the DP section
Add in some code with the code text feature
Publish the lesson
Try to access the lesson from the Student Side
Expected behavior
The code text will get added and saved on the Admin side after the lesson is published. However, the code text will not be visible to the student.
Screenshots
Desktop (please complete the following information):
OS: Windows 10
Browser: Firefox
Version: 111.0.1 (64-bit) (This is the newest Firefox version)
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
Describe the bug When creating lesson content, an admin can add code text. It shows up when creating the lesson but disappears on the student side once it is published. On the admin side, the code text is still present.
To Reproduce Steps to reproduce the behavior:
Expected behavior The code text will get added and saved on the Admin side after the lesson is published. However, the code text will not be visible to the student.
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.