title: Upgrading Froala from 2.9.2 to 3.1.1 throws exception: "Cannot use 'in' operator to search for 'defaultView' in undefined"
body: <p>When I execute below code lines it throws exception in the console on executing (new <code>FroalaEditor</code>).</p>
  
  <p>Code:</p>
  
  <pre><code>$.fn.validateFroalaChange = function () {
    var $obj = $(this);
  
    new FroalaEditor($obj, {
      events: {
        'contentChanged': function () {
          console.log("changed!!");
        }
      }
    });
  };
  </code></pre>
  
  <p><strong>Error:</strong></p>
  
  <pre><code>froala_editor.pkgd.min.js:7 Uncaught TypeError: Cannot use 'in' operator to search for 'defaultView' in undefined
      at new E.Bootstrap (froala_editor.pkgd.min.js:7)
      at new $e (froala_editor.pkgd.min.js:7)
  </code></pre>