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

cursor reinstated at end of P after unwrap #2

Open
meremagee opened this issue Feb 23, 2015 · 0 comments
Open

cursor reinstated at end of P after unwrap #2

meremagee opened this issue Feb 23, 2015 · 0 comments

Comments

@meremagee
Copy link

logged that the cursor is lost on unwrap in editor repo: https://github.com/Automattic/editor/issues/509, but wanted to note that cursor is reset at the end of the P when you start typing again after it's lost. It should persist where you were before unwrap.

repro

  • type or paste in text
  • add cursor anywhere within the text - on a space, mid-word, etc
  • use keyboard or icon to set bold
  • type
  • use keyboard or icon to unset bold
  • cursor is no longer visible
  • type and cursor reappears at end of text

https://cloudup.com/cZPuk_GtjGZ

todo from @TooTallNate - https://github.com/webmodules/unwrap-range/blob/master/index.js#L102-L114

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

1 participant