-
Notifications
You must be signed in to change notification settings - Fork 93
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
Enter on Heading Text - Cursor Jump #260
Comments
![:octocat: :octocat:](https://github.githubassets.com/images/icons/emoji/octocat.png)
![:octocat: :octocat:](https://github.githubassets.com/images/icons/emoji/octocat.png)
…rdproject#260 Signed-off-by: d-e-v-esh <59534570+d-e-v-esh@users.noreply.github.com>
@irmerk This problem is occurring because:
Is that an appropriate solution? |
If I understand correctly, I think that sounds good. I think we want:
<h1>Heading</h1>
↑ <p>Normal paragraph text.</p>
↑ Becomes this with the cursor (↑) positioned: <h1></h1>
<h1>Heading</h1>
↑ <p></p>
<p>Normal paragraph text.</p>
↑
<h1>Heading</h1>
↑ <p>Normal paragraph text.</p>
↑ Becomes this with the cursor (↑) positioned: <h1>Hea</h1>
<h1>ding</h1>
↑ <p>Norm</p>
<p>al paragraph text.</p>
↑
<h1>Heading</h1>
↑ <p>Normal paragraph text.</p>
↑ Becomes this with the cursor (↑) positioned: <h1>Heading</h1>
<p></p>
↑ <p>Normal paragraph text.</p>
<p></p>
↑ |
…rdproject#260 Signed-off-by: d-e-v-esh <59534570+d-e-v-esh@users.noreply.github.com>
…rdproject#260 Signed-off-by: d-e-v-esh <59534570+d-e-v-esh@users.noreply.github.com>
…rdproject#260 Signed-off-by: d-e-v-esh <59534570+d-e-v-esh@users.noreply.github.com>
Bug Report 🐛
The cursor would jump one line above when we would press enter from the beginning of any heading text
Expected Behavior
The cursor should go down with the heading text as it happens everywhere else
Steps to Reproduce
Desktop
The text was updated successfully, but these errors were encountered: