title: Inserting content to wp_editor tinyMCE not adding line breaks to editor
body: <p>I am inserting content into a wp_editor via ajax response. I select the record I want to edit from a drop down and this populates all of the fields I want to edit. This ends up inserting the wp_editor content without line breaks. If I manually add the line breaks and save it, it saves fine and displays the content correctly. But the next time I go to edit that item, it then inserts into the editor without the line breaks so I have to manually add the line breaks again.</p>
  
  <p>This is what I am using to create the wp_editor.</p>
  
  <pre><code>$args = array(
   'textarea_rows' =&gt; 15,
   'textarea_name' =&gt; 'customEditor',
   'media_buttons' =&gt; false
  );
  
  wp_editor( '', 'customEditor', $args );
  </code></pre>
  
  <p>This is how I am inserting the content to the editor from the ajax response.</p>
  
  <pre><code>tinyMCE.get( "customEditor" ).setContent(result[i].services);
  </code></pre>
  
  <p>It is also escaping quotes and single quotes when inserting into the editor. I have a feeling this might be from the ajax response json encode. So thinking I need to do something with this content before sending it to the editor. Anyone know a solution to handle this?</p>
  
  <p>Here is what the ajax response looks like in console</p>
  
  <pre><code>"services":"Here is a link &lt;a href=\\\"http:\/\/www.example.com\\\"&gt;http:\/\/www.example.com&lt;\/a&gt;\r\n\r\nthis is a new line\r\nthis is a new line\r\nthis is a new line\r\nthis is a new line\r\nthis is a new line\r\nthis is a new line\r\nthis is a new line\r\nthis is a new line\r\nthis is a new line\r\nthis is a new line\r\nthis is a new line\r\nthis is a new line\r\nthis is a new line\r\nthis is a new line\r\nthis is a new line\r\nthis is a new line\r\nthis is a new line\r\nthis is a new line\r\nthis is a new line\r\nthis is a new line"
  </code></pre>
  
  <p>Gets inserted into the editor like </p>
  
  <pre><code>Here is a link &lt;a href="\&amp;quot;example.com\&amp;quot;"&gt;example.com&lt;/a&gt;; this is a new line this is a new line this is a new line this is a new line this is a new line this is a new line this is a new line this is a new line this is a new line this is a new line this is a new line this is a new line
  </code></pre>