Skip to content

V2 suggestions, content wrongly inserted as suggestionΒ #245

Description

@YousefED

Describe the bug
Adding a new paragraph between an existing and suggested paragraph wrongly marks my text as "suggested" instead of "original" when in View-mode

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://y-prosemirror-demo.netlify.app/
  2. Type "Hello world"
  3. Set suggestions to "Edit"
  4. Select text, insert a line "Greetings, universe"
  5. Set suggestions to "View"
  6. Try to insert a new line of text after the first line (by hitting enter after "world")

Notice how content is inserted as suggestion, while I'm in view mode

Expected behavior
I expect to be able to add new paragraphs to the existing document

Screenshots

Image

Additional context

  • I'm a sponsor πŸ’–
  • This issue is a blocker for my project.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions