In XBlock api not getting student_view_data

Unfortunately the capa problem XBlock does not currently support student_view_data. It should be working for other types like video or html.

I believe the reason for this is that the capa XBlock has a lot of functionality, so it’s not reasonable to get the data as JSON and re-implement a custom UI. I would recommend just displaying it in an iframe.