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

Formatting shortcuts always active without selected text #1197

Closed
montlebalm opened this issue Dec 16, 2016 · 0 comments
Closed

Formatting shortcuts always active without selected text #1197

montlebalm opened this issue Dec 16, 2016 · 0 comments

Comments

@montlebalm
Copy link

montlebalm commented Dec 16, 2016

Quill does not block formatting keyboard shortcuts -- like ⌘+b -- when there's no selected text. It works correctly when text is selected.

quill_bolding

Steps for Reproduction

  1. Visit https://jsfiddle.net/montlebalm/zgk7qkrp/2/
  2. Focus the Quill editor and hit ⌘+b
  3. Type "foo"
  4. Verify "foo" is bold

Expected behavior:

Formatting shortcuts should not be allowed in any context if the corresponding formats are disabled.

Actual behavior:

Formatting shortcuts are active when there's no selected text.

Platforms:

Tested in Chrome 55, Safari 10 on macOS.

Version:

Version 1.1.3

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