Skip to content

Commit

Permalink
CUR-3373 - Standardization for Free text question - fix interactive v…
Browse files Browse the repository at this point in the history
…ideo free text question input box issue
  • Loading branch information
yuvaraj-curriki committed Mar 24, 2022
1 parent 1d891d6 commit fc6e587
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion h5p-free-text-question.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ H5P.FreeTextQuestion = (function (EventDispatcher, $, CKEditor) {
var self = this;
var textAreaID = 'h5p-text-area-' + counter;
counter++;
var isEditing = (window.H5PEditor !== undefined);
// check editing attribute sent from parent
var isEditing = extras && extras.hasOwnProperty('editing') ? extras.editing : (window.H5PEditor !== undefined);
var attached;
var textarea;
var useCK = false;
Expand Down

0 comments on commit fc6e587

Please sign in to comment.