title: How to upload image with Jodit uploader and coldfusion?
body: <p>I'm using <a href="https://xdsoft.net/jodit/" rel="nofollow noreferrer">Jodit</a> to create a wysiwyg editor.  I have a coldfusion file (uploadimage2.cfm) that is empty. When I send the uploaded img to that empty coldfusion page I get an error that coldfusion can't find the variable "FILES".</p>
  
  <p>Jodit is sending the following form data to uploadimage2.cfm:</p>
  
  <pre><code>------WebKitFormBoundaryIrkl9oNQedwACmBe
  Content-Disposition: form-data; name="path"
  
  
  ------WebKitFormBoundaryIrkl9oNQedwACmBe
  Content-Disposition: form-data; name="source"
  
  default
  ------WebKitFormBoundaryIrkl9oNQedwACmBe
  Content-Disposition: form-data; name="files[0]"; filename="HandShake.JPG"
  Content-Type: image/jpeg
  
  
  ------WebKitFormBoundaryIrkl9oNQedwACmBe--
  </code></pre>
  
  <p>It seems coldfusion is getting stuck on the name="files[0]" part.  I have a working upload function that doesn't use Jodit and it sends name="image" in place of it.</p>
  
  <p>I have not been able to intercept the form data to try to rename it when Jodit sends it.</p>
  
  <p>Here's my javascript with the Jodit plugin:</p>
  
  <pre><code>var editor = new Jodit('#newEditor',
     uploader: {
          url: "uploadimage2.cfm",
          filesVariableName: "image"
     }
  );
  </code></pre>
  
  <p>How can I send the correct form data for coldfusion to not throw errors?</p>