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

readOnly / disabled mode does not disable pasting with CTRL + V #1038

Closed
viljark opened this issue Oct 11, 2016 · 0 comments
Closed

readOnly / disabled mode does not disable pasting with CTRL + V #1038

viljark opened this issue Oct 11, 2016 · 0 comments

Comments

@viljark
Copy link

viljark commented Oct 11, 2016

When using readOnly: true or editor.enable(false) it is possible to change editor content by pasting into it withctrl + v;

Steps for Reproduction

  1. Visit http://codepen.io/viljark/pen/bwrBQm
  2. click on the disabled editor
  3. press ctrl + v

Expected behavior:
You can't change the editor content.
Actual behavior:
Clipboard content appears in editor
Platforms:
Win 10 Chrome 53.0.2785.143 m
Win 10 Edge 38.14393.0.0
Win 10 Firefox 49.0.1

Version: 1.0.6

@jhchen jhchen closed this as completed in b69586f Oct 12, 2016
tim-mc pushed a commit to tim-mc/quill that referenced this issue Dec 12, 2016
tim-mc pushed a commit to tim-mc/quill that referenced this issue Dec 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant