Skip to content

Drag and Drop from the files tree #16

@pepebe

Description

@pepebe

Drag and drop from the file tree is broken.

How to test it

  • Set the cursor to a particular spot inside a Ace editor.
  • Open the file tab on the right side.
  • Try to drag and drop a file into an editor textarea on the right side.

screenshot 2018-12-18 19 14 02

Whats supposed to happen

  • The full path and filename is inserted at the current cursor position.

What happens instead

  • Cursor position is lost and the path is inserted at the end of the code. On top of this, the Ace layout is changing.

screenshot 2018-12-18 19 14 50

Environment

  • MODx 2.6.5,
  • SimeplAceEditor 1.5.1,
  • Chrome Version 70.0.3538.110

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions