Skip to content

cut & copy don't work on IE #111

Closed
Closed
@ghost

Description

(issue already discussed by email, adding here in case it helps tracking. some new info)

Issue: cannot cut or copy selected editor text in Internet Explorer - nothing happens.
'cut' and 'copy are greyed out in the context menu, as well as in the Edit menu, implying the browser is not aware of a current text selection.
Paste from clipboard does work.

tested on IE8 and IE9

As we understand it, Ace doesn't expect to explicitly handle the ctrl+c and ctrl+x keystrokes, instead leaving them up to the browser to handle, and only intervening after the fact in the onCut and onCopy methods of textinput.js. However placing breakpoints in these functions show these code paths are never taken.

So one theory is that IE somehow isn't recognising the current selection - we assume this happens in the hidden textarea field?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions