mario-education 2.4.441-release → 2.4.442-release
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +11 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +12 -3
- package/dist/index.modern.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -16322,6 +16322,9 @@ var QuestionDetail = function QuestionDetail() {
|
|
|
16322
16322
|
var header = !!id ? t(EDIT_QUESTION_HEADER) : t(CREATE_QUESTION_HEADER);
|
|
16323
16323
|
var confirmText = !!id ? t("update") : t("create");
|
|
16324
16324
|
var additionalFields = ["fromLabel", "toLabel", "numberOfStars"];
|
|
16325
|
+
console.log({
|
|
16326
|
+
tinyMCEKey: tinyMCEKey
|
|
16327
|
+
});
|
|
16325
16328
|
return React__default.createElement(React__default.Fragment, null, !!id && React__default.createElement(reactstrap.Nav, {
|
|
16326
16329
|
tabs: true,
|
|
16327
16330
|
className: "mb-3"
|
|
@@ -16433,7 +16436,7 @@ var QuestionDetail = function QuestionDetail() {
|
|
|
16433
16436
|
}, React__default.createElement(marioCore.RequiredLabel, {
|
|
16434
16437
|
text: t("question_text")
|
|
16435
16438
|
}), (questionDetail.text || !id) && !!tinyMCEKey && React__default.createElement(tinymceReact.Editor, {
|
|
16436
|
-
apiKey: tinyMCEKey,
|
|
16439
|
+
apiKey: tinyMCEKey || marioCore.TINY_MCE_API_KEY,
|
|
16437
16440
|
value: questionDetail.text,
|
|
16438
16441
|
init: _extends({}, marioCore.editorConfig.question, {
|
|
16439
16442
|
paste_preprocess: function paste_preprocess(_plugin, args) {
|
|
@@ -30481,7 +30484,13 @@ var readinesToLearnoptions = function readinesToLearnoptions(seriesName, data) {
|
|
|
30481
30484
|
chart: {
|
|
30482
30485
|
height: 250,
|
|
30483
30486
|
toolbar: {
|
|
30484
|
-
show: false
|
|
30487
|
+
show: false,
|
|
30488
|
+
tools: {
|
|
30489
|
+
zoom: false
|
|
30490
|
+
}
|
|
30491
|
+
},
|
|
30492
|
+
zoom: {
|
|
30493
|
+
enabled: false
|
|
30485
30494
|
},
|
|
30486
30495
|
events: {
|
|
30487
30496
|
dataPointSelection: function dataPointSelection(_event, chartContext, config) {
|