1. 02 Feb, 2015 1 commit
  2. 01 Feb, 2015 1 commit
    • Marco Cyriacks's avatar
      Fix raw image paste from clipboard · a54e9e54
      Marco Cyriacks authored
      This patch binds the textarea (markdown area) paste event to the
      handlePaste() function (that was already present).
      
      Furthermore the event processing is improved in the following way:
      
      - The default paste event handler of the browser is only disabled if the
        browser fully supports clipboardData AND there realy is image data in
        the event object. In all other cases (no support or no image) the
        default handler processes the text paste.
      - Some obsolete code was removed.
      - The pasteText() function (which is somehow buggy because it places the
        cursor at the end of the text independantly from its position before the
        paste) is only used to place the image link after image data was pasted.
      a54e9e54
  3. 30 Jan, 2015 17 commits
  4. 29 Jan, 2015 21 commits