Experiment with bubble system
parent
fffe9d318e
commit
ab00c5cc94
|
@ -123,7 +123,7 @@ H5P.QuestionSet = function (options, contentId) {
|
||||||
enableSolutionsButton: params.override.overrideShowSolutionButton
|
enableSolutionsButton: params.override.overrideShowSolutionButton
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
var questionInstance = H5P.newRunnable(question, contentId);
|
var questionInstance = H5P.newRunnable(question, contentId, null, null, self);
|
||||||
questionInstances.push(questionInstance);
|
questionInstances.push(questionInstance);
|
||||||
questionInstance.on('resize', function() {
|
questionInstance.on('resize', function() {
|
||||||
self.trigger('resize');
|
self.trigger('resize');
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
"title": "Question set",
|
"title": "Question set",
|
||||||
"contentType": "question",
|
"contentType": "question",
|
||||||
"majorVersion": 1,
|
"majorVersion": 1,
|
||||||
"minorVersion": 2,
|
"minorVersion": 3,
|
||||||
"patchVersion": 0,
|
"patchVersion": 1,
|
||||||
"embedTypes": [
|
"embedTypes": [
|
||||||
"iframe"
|
"iframe"
|
||||||
],
|
],
|
||||||
|
|
|
@ -110,7 +110,7 @@
|
||||||
"label": "Question type",
|
"label": "Question type",
|
||||||
"description": "Library for this question.",
|
"description": "Library for this question.",
|
||||||
"options": [
|
"options": [
|
||||||
"H5P.MultiChoice 1.2",
|
"H5P.MultiChoice 1.3",
|
||||||
"H5P.DragQuestion 1.2",
|
"H5P.DragQuestion 1.2",
|
||||||
"H5P.Blanks 1.2",
|
"H5P.Blanks 1.2",
|
||||||
"H5P.MarkTheWords 1.2",
|
"H5P.MarkTheWords 1.2",
|
||||||
|
|
Loading…
Reference in New Issue