Skip to content

Improve inline element handling #68

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

Merged
merged 28 commits into from
Jun 11, 2014
Merged

Improve inline element handling #68

merged 28 commits into from
Jun 11, 2014

Conversation

peyerluk
Copy link
Member

Inline elements collapse to zero height and the cursor is not displayed by default.

@peyerluk peyerluk self-assigned this May 22, 2014
peyerluk added 23 commits May 22, 2014 17:24
It seems the focus event is not triggered and thus we cannot properly test this.
The log has to be disabled globally. With the current implementation
of log a per instance setting is not possible.
Firefox does not render empty block level elements so we have to add
a line-break so things are rendered properly. The zeroWidthNonBreakingSpace
showed some issues in Firefox so I removed it completely. Hopefully the line-break
also helps with inline elements.
The traversal through all nodes in an editable was buggy.
peyerluk added a commit that referenced this pull request Jun 11, 2014
Improve inline element handling
@peyerluk peyerluk merged commit 4a381d5 into master Jun 11, 2014
@peyerluk peyerluk deleted the inline-elements branch June 11, 2014 09:41
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

Successfully merging this pull request may close these issues.

2 participants