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

Chrome and NodeView cursor issue #871

Open
1 of 4 tasks
gaetansnl opened this issue Nov 22, 2018 · 2 comments
Open
1 of 4 tasks

Chrome and NodeView cursor issue #871

gaetansnl opened this issue Nov 22, 2018 · 2 comments

Comments

@gaetansnl
Copy link

gaetansnl commented Nov 22, 2018

Issue details

Click on "gg". As you can see a cusor appear under it. The problem exists on chrome but not on Firefox.

In my code, cursor sometimes appear before. And sometimes the problem disapear If I alternate paragraph and NodeView,....

EDIT: The issue for me is that I think I type in the paragraph but in reality the node is selected and, as I start typing, the node gets deleted...

Steps to reproduce

https://codesandbox.io/s/10q33xqr24

Affected platforms

  • Chrome
  • Firefox
  • Internet Explorer
  • Other
@marijnh
Copy link
Member

marijnh commented Nov 22, 2018

Try loading prosemirror.css from prosemirror-view

@gaetansnl
Copy link
Author

@marijnh Thank you for the fast answer. It seems to solve the issue I describe. But is it normal I need to click multiple times to edit the text below now ? (on Chrome)
https://codesandbox.io/s/69myzk5pz

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

2 participants