Skip to content

Commit 67ac46a

Browse files
authored
feat: pdf block enabled by default (#38870)
This PR enables the PDF block by default in all courses. It is listed under the the Advanced component category. Before this commit, course authors needed to add it to the Advanced module list in Advanced Settings first. https://openedx.atlassian.net/wiki/spaces/OEPM/pages/5335908397 Backports f4cba03
1 parent a05e696 commit 67ac46a

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

cms/djangoapps/contentstore/views/component.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
'google-calendar',
7878
'google-document',
7979
'lti_consumer',
80+
'pdf',
8081
'poll',
8182
'split_test',
8283
'survey',

cms/djangoapps/contentstore/views/tests/test_block.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2806,6 +2806,7 @@ def setUp(self):
28062806
"Google Calendar",
28072807
"Google Document",
28082808
"LTI Consumer",
2809+
"PDF",
28092810
"Poll",
28102811
"Content Experiment",
28112812
"Survey",

cms/envs/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -938,7 +938,7 @@ def make_lms_template_path(settings):
938938
{
939939
'component': 'staffgradedxblock',
940940
'boilerplate_name': None
941-
}
941+
},
942942
]
943943

944944
LIBRARY_BLOCK_TYPES = [

0 commit comments

Comments
 (0)