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

Error in firefox when selecting the whole paragraph block #926

Closed
carakas opened this issue Oct 23, 2019 · 5 comments
Closed

Error in firefox when selecting the whole paragraph block #926

carakas opened this issue Oct 23, 2019 · 5 comments

Comments

@carakas
Copy link

carakas commented Oct 23, 2019

Hello,

I'm currently looking at integrating this in Fork CMS

When I'm selecting all text in a paragraph in firefox I get the following error

TypeError: this.items[n] is undefined
@carakas
Copy link
Author

carakas commented Oct 24, 2019

Just tested this. I only have this when I use the out of the box editor without any extra tools registered

@pdfrod
Copy link

pdfrod commented Oct 30, 2019

I'm having the same issue on Google Chrome and Editor.js v2.15.1. Here's a minimum reproducible example:

<html>
  <head>
    <title>Hello</title>
  </head>
  <body>
    <div id="editorjs"></div>
    <script src="https://cdn.jsdelivr.net/npm/@editorjs/editorjs@latest"></script>
    <script>
      var editor = new EditorJS();
    </script>
  </body>
</html>
  1. write some text (e.g., "Hi")
  2. double-click on the text to select it -> error happens

@khaydarov
Copy link
Member

@pdfrod @carakas thanks for the report. WIll be fixed in 2.16

@carakas
Copy link
Author

carakas commented Nov 25, 2019

awesome :D Thank you for the fast response

@neSpecc
Copy link
Member

neSpecc commented Dec 3, 2019

Resolved by #966

@neSpecc neSpecc closed this as completed Dec 3, 2019
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

4 participants