title: Trying to add placeholder to CKeditor 4, but not having any luck
body: <p>I'm simply trying to configure certain settings for certain ckeditor, and having no luck. For one, I do have a <code>views/assets/javascripts/ckeditor/config.js</code> that <em>works</em>, but this is a "global" config file.</p>
  
  <p>On certain views in my rails app, I want to have other settings, like placeholders for example. I'm not sure if version 4 includes a lot of changes compared to some of the older ones, but here are some other stackoverflow references that I've used:</p>
  
  <p><a href="https://stackoverflow.com/questions/28301703/how-do-i-add-a-placeholder-attribute-to-an-instance-of-ckeditor">How do I add a placeholder attribute to an instance of CKEditor?</a></p>
  
  <p>This one in particular suggests using <code>CKEDITOR.replace("myeditor" , config );</code> to replace the placeholder, but that doesn't work for me. When I replace "myeditor" with the ID of my <code>textarea</code> element, such as this: <code>CKEDITOR.replace("randomTextAreaID" , {placeholder: "Hello World"} );</code>, I get this error:</p>
  
  <blockquote>
    <p>Uncaught The editor instance "randomTextAreaID" is already
    attached to the provided element.</p>
  </blockquote>
  
  <p>There are other suggestions that appear as "hacks" from 2012, but that is 6 years ago. Can't imagine that setting a placeholder for a text editor would be this difficult.</p>
  
  <p>** EDIT ** </p>
  
  <p>So I got it to work like this:</p>
  
  <pre><code>var editor = CKEDITOR.instances['randomTextAreaID'];
  if (editor) { editor.destroy(true); }
  CKEDITOR.replace( 'randomTextAreaID', {
  height: 20, 
  });
  </code></pre>
  
  <p>but still looks like trying to set a placeholder isn't working.</p>
  
  <p>I've also downloaded the placeholder plugin and placed it here: <code>views/assets/javascripts/ckeditor/plugins/placeholder</code> and still no luck. No javascript loading errors, just simply not working.</p>