feat: editor js for instructor notes

This commit is contained in:
Jannat Patel
2023-09-27 17:59:36 +05:30
parent 5614a6203f
commit db71f1271b
7 changed files with 174 additions and 139 deletions

View File

@@ -152,11 +152,6 @@ def get_lesson_details(chapter):
)
lesson_details.number = flt(f"{chapter.idx}.{row.idx}")
lesson_details.icon = get_lesson_icon(lesson_details.body)
if lesson_details.instructor_notes:
lesson_details.instructor_notes_html = markdown_to_html(
lesson_details.instructor_notes
)
lessons.append(lesson_details)
return lessons