title: Unable to paste text into Redactor WYSIWYG editor. jQuery: $.parseHTML is not a function
body: <p>Due to my lack of knowlegde when it comes to javascript and jquery, I can't solve this seemingly simple problem with Redactor.</p>
  
  <p><strong>Problem</strong>: I cannot paste any text into my redactor WYSIWYG editor (using ctrl v nor using the right mouse button).</p>
  
  <p>When I try pasting text into the editor, my firebug console shows me the js error: </p>
  
  <pre><code>TypeError: $.parseHTML is not a function
      var $html = $('&lt;div&gt;').append($.parseHTML(html));
  </code></pre>
  
  <p>So I thought there must be something wrong with jquery, as jquery contains the <code>$.parseHTML</code> function. To be sure I checked that jquery and jquery.ui are imported and that I'm using the latest version, which all seems to be the case. </p>
  
  <p>EDIT: This is the piece html out of my <code>&lt;head&gt;</code> where the js files are imported. Perhaps the order in which these are included is causing the problem?</p>
  
  <pre><code>&lt;script src="/assets/8cf5dd34/jquery.js" type="text/javascript"&gt;
  &lt;script src="/assets/b52d4639/redactor.js" type="text/javascript"&gt;
  &lt;script src="/assets/b52d4639/lang/nl.js" type="text/javascript"&gt;
  &lt;script src="/assets/8cf5dd34/jui/js/jquery-ui.min.js" type="text/javascript"&gt;
  </code></pre>
  
  <p><a href="http://imperavi.com/redactor/examples/drag_and_drop/" rel="nofollow">Here is a example of the editor if you want to check it out.</a> </p>
  
  <p>BTW: I am using the Yii framework. The code to use the editor is as follows:</p>
  
  <pre><code>&lt;?php echo $form-&gt;textArea($model,'text',array('class'=&gt;'redactor' )); ?&gt;
  
  &lt;?php 
      $this-&gt;widget('ImperaviRedactorWidget', array(
          // The textarea selector
          'selector' =&gt; '.redactor',
          // Some options, see http://imperavi.com/redactor/docs/
          'options' =&gt; array(
              'lang'=&gt;'nl',
              'buttons'=&gt;array('formatting', '|', 'bold', 'italic', 'deleted', '|', 'alignment', '|', 'unorderedlist', 'orderedlist', 'outdent', 'indent', '|', 'horizontalrule',  '|', 'table', 'link', 'image', '|', 'copy', 'paste'),
              'shortcuts'=&gt;true,
          ),
      ));
  ?&gt;
  </code></pre>
  
  <p>Anybody have any ideas? Any help is greatly appreciated.</p>