Closed Anas12091101 closed 9 months ago
@arslanashraf7 thanks for reviewing this PR. Noted points 1 and 2.
Addressing point 3, while creating/editing a problem in course authoring MFE, we get some tag choices as shown below
By default, the div tag is selected and because of this, we are getting the div
tag in the choice xml node. There can be a code
tag inside the div tag if we want to give code as choice. Therefore, removing div
tag in the MFE might not be the solution.
What are the relevant tickets?
149
What's this PR do?
Fixed the stuck-on-loading bug for problems created through course authoring MFE. Previously the text property of choice tree in xml was being accessed which was giving None due to the presence of xml childs(like div, code etc) inside the choice. This PR changes the
text
property toitertext()
function that iterates through all the nodes inside the choice and returns the text in a list.How should this be manually tested?
Open problem now
button.Screenshots (if appropriate)