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

Formatting lost when newline deleted. #40

Closed
byronm opened this issue Jul 19, 2013 · 0 comments
Closed

Formatting lost when newline deleted. #40

byronm opened this issue Jul 19, 2013 · 0 comments

Comments

@byronm
Copy link
Contributor

byronm commented Jul 19, 2013

  1. "abcd\nabcd"
  2. Style both "cd" substrings with the color red.
  3. Place cursor before \n at index 4 and delete the \n.

The {color: 'red'} attribute is lost on the second "cd". Occurs in Chrome; Firefox is fine. I've added a test for this in the delete suite, which should help prevent regressing any more (it's been discovered/fixed before; see issue #12.

@ghost ghost assigned jhchen Jul 19, 2013
@jhchen jhchen closed this as completed in e9cb71e Jul 24, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants