mario-education 2.4.445-release → 2.4.446-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 CHANGED
@@ -16320,6 +16320,9 @@ var QuestionDetail = function QuestionDetail() {
16320
16320
  var header = !!id ? t(EDIT_QUESTION_HEADER) : t(CREATE_QUESTION_HEADER);
16321
16321
  var confirmText = !!id ? t("update") : t("create");
16322
16322
  var additionalFields = ["fromLabel", "toLabel", "numberOfStars"];
16323
+ console.log({
16324
+ tinyMCEKey: tinyMCEKey
16325
+ });
16323
16326
  return React__default.createElement(React__default.Fragment, null, !!id && React__default.createElement(reactstrap.Nav, {
16324
16327
  tabs: true,
16325
16328
  className: "mb-3"
@@ -16431,7 +16434,7 @@ var QuestionDetail = function QuestionDetail() {
16431
16434
  }, React__default.createElement(marioCore.RequiredLabel, {
16432
16435
  text: t("question_text")
16433
16436
  }), (questionDetail.text || !id) && !!tinyMCEKey && React__default.createElement(tinymceReact.Editor, {
16434
- apiKey: tinyMCEKey,
16437
+ apiKey: tinyMCEKey || marioCore.TINY_MCE_API_KEY,
16435
16438
  value: questionDetail.text,
16436
16439
  init: _extends({}, marioCore.editorConfig.question, {
16437
16440
  paste_preprocess: function paste_preprocess(_plugin, args) {