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

Unable to remove mark after deleting marked characters (cursor-only state) - v0.0.13-alpha.3 #16

Closed
arisgk opened this issue Aug 11, 2024 · 2 comments

Comments

@arisgk
Copy link

arisgk commented Aug 11, 2024

Description

When using v0.0.13-alpha.3 I'm encountering a problem when trying to unmark text after deleting marked characters, with no text selected (i.e., in a cursor-only state).

The recording below demonstrates the issue in the playground:

unmark-cursor-issue.mp4

How to Reproduce

  1. Type some plain text
  2. With the cursor at the end of the text, apply a mark (e.g. bold)
  3. Type some marked characters
  4. Delete all the marked characters
  5. Remove the mark
  6. Type some more characters

Expected behavior

The characters typed in step 6 must be unmarked (plain text).

Actual behavior

The characters typed in step 6 are still marked (unmarking wasn't applied properly).

@BrianHung
Copy link
Contributor

BrianHung commented Aug 14, 2024

Looked briefly into this; might be the same issue mentioned in #2 or #3.

Possible fix here? BrianHung@8051360

@arisgk
Copy link
Author

arisgk commented Oct 24, 2024

I just checked and this is fixed, yes. Thanks @BrianHung! Closing this issue.

@arisgk arisgk closed this as completed Oct 24, 2024
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