Drag and drop problem type not available in content library


I’m trying to include a drag and drop problem in a content library, but it’s not available (only the deprecated version is there).

Is there a way to enable this problem type in content libraries?

Unfortunately there is no easy way - the list of allowed XBlocks for content libraries is hardcoded into the system (although it is possible to change by changing the code, if you’re up for that).

We have been working on a new version of content libraries that allows any type of XBlocks, but it will be quite some time before it is fully usable.


Thanks Braden!
Do you know where in the code can I add this module?

Yes, here, and here.