Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy and paste clipboard issue while javascript is active. #321

Open
ghost opened this issue Apr 11, 2021 · 2 comments
Open

Copy and paste clipboard issue while javascript is active. #321

ghost opened this issue Apr 11, 2021 · 2 comments
Labels

Comments

@ghost
Copy link

ghost commented Apr 11, 2021

Hi.
I was redirected from here: luanti-org/contentdb#292

@Ionaru
Copy link
Owner

Ionaru commented Apr 12, 2021

As far as I'm aware, pasting text using the middle-mouse is not standard browser behaviour. Usually, middle-mouse click is reserved for scrolling or opening links in a new tab/window. Some Linux distros allow it, but it is far from universal.

EasyMDE does not handle any copy-paste events, these are sent down to the CodeMirror editor.

I found these reported issues that discuss the topic:

You should have a look on https://codemirror.net/ (current editor in use) or https://codemirror.net/6/ (future version) to see if it works there.

tldr: there's nothing that can be changed about it in EasyMDE.

@ghost
Copy link
Author

ghost commented Apr 12, 2021

As far as I'm aware, pasting text using the middle-mouse is not standard browser behaviour. Usually, middle-mouse click is reserved for scrolling or opening links in a new tab/window. Some Linux distros allow it, but it is far from universal.

Ehm.. no, that is the default behaviour of the primary clipboard in probably all distributions:
https://specifications.freedesktop.org/clipboards-spec/clipboards-latest.txt

Also I have never had this issue on any other editor, no matter if js is enabled or not, while using firefox and I use this thing for nearly 15 years now.

tldr: there's nothing that can be changed about it in EasyMDE.

I see.
Thx anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant