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

When readOnly is true, toolbar still works #1151

Closed
jgmedialtd opened this issue Dec 1, 2016 · 0 comments
Closed

When readOnly is true, toolbar still works #1151

jgmedialtd opened this issue Dec 1, 2016 · 0 comments

Comments

@jgmedialtd
Copy link

When config > readOnly is set to true, toolbar can still edit the content (select the list button as an example - converts the text to list)

Steps for Reproduction

  1. Initialise a quill element with the configuration readOnly = true
  2. Click on the list button on the toolbar

Expected behavior:

Toolbar buttons do nothing to the content until 'contenteditable' is true

Actual behavior:

The content is converted to to a list

Platforms:

Chrome 54.0.2840.98 (64-bit), Mac

Version:

1.1.5

@jhchen jhchen closed this as completed in 7ab8dcc Dec 6, 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