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

[Bug] editor.readOnly.isEnabled does not update #1822

Closed
matt-savage opened this issue Nov 29, 2021 · 0 comments · Fixed by #1831
Closed

[Bug] editor.readOnly.isEnabled does not update #1822

matt-savage opened this issue Nov 29, 2021 · 0 comments · Fixed by #1831
Labels

Comments

@matt-savage
Copy link

Describe a bug.

Steps to reproduce:

  1. console.log(editor.readOnly.isEnabled) outputs true
  2. editor.readOnly.toggle();
  3. console.log(editor.readOnly.isEnabled) outputs true

Expected behavior:

  1. console.log(editor.readOnly.isEnabled) outputs true
  2. editor.readOnly.toggle();
  3. console.log(editor.readOnly.isEnabled) outputs false

Device, Browser, OS:
ALL

Editor.js version:
2.22.2

Plugins you use with their versions:
All standard plugins @latest

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

Successfully merging a pull request may close this issue.

1 participant