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

Unexpected <enter> behavior #66

Closed
bistory opened this issue Feb 28, 2011 · 3 comments
Closed

Unexpected <enter> behavior #66

bistory opened this issue Feb 28, 2011 · 3 comments
Assignees
Labels
Milestone

Comments

@bistory
Copy link
Member

bistory commented Feb 28, 2011

I managed to reproduce an annoying bug pointed by some of our users.
I used Firefox 3.6.13 to make it happen.

First, open the Aloha Documents example.
Put your cursor at the end of a paragraph, press enter and type a word.
Select that word, make it become a heading 1 via the floating menu, put your cursor at the end of the heading 1 and press enter.
The new line is now a heading 1 instead of a simple paragraph.

Do you have some ideas where this bug could come from ?

@npomaroli
Copy link
Member

This has something to do with either the selection (how aloha editor reads the current selection) or the code which handles pressing enter.
I will modify both in near future, because it does not use the dom utility methods for dom manipulation right now, so I will recheck whether this bug still persists after I changed this.

@draftkraft
Copy link
Contributor

@ghost ghost assigned npomaroli Apr 23, 2011
@npomaroli
Copy link
Member

I can still reproduce this in 0.10 (even after merging all refactorings into 0.10).
I will inspect this further...

coleshaw pushed a commit to coleshaw/Aloha-Editor that referenced this issue Feb 12, 2014
…eanup

Fix interchangeable use of jQuery and $.
yrucrem pushed a commit that referenced this issue Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants