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

Backspace in beginning of a *styled* line does not affect the line positioning #567

Closed
liadbe opened this issue Nov 29, 2020 · 0 comments
Closed
Labels

Comments

@liadbe
Copy link

liadbe commented Nov 29, 2020

Jodit Version: 3.4.29

Browser: Chrome
OS: Windows
Is React App: True

Code

// Example 1
<div>This is</div>
<div>my line</div>

// Example 2
<div><span style="color: rgb(0, 0, 255);">This is</span></div>
<div><span style="color: rgb(0, 0, 255);">my line</span></div>

Expected behavior:
On both examples, when standing on the beginning of the second line (where the text 'my line' starts), I would expect that the second line's text will jump up to be at the end of the first line (like so - 'This ismy line')

Actual behavior:
In example 1 it works as expected, but in example 2 I keep typing the backspace key without any response.

xdan added a commit that referenced this issue Dec 5, 2020
xdan added a commit that referenced this issue Dec 5, 2020
@xdan xdan added the bug label Dec 13, 2020
xdan added a commit that referenced this issue Dec 13, 2020
@xdan xdan closed this as completed Dec 18, 2020
vinhtranchau added a commit to vinhtranchau/jodit-repo that referenced this issue Jan 18, 2023
vinhtranchau added a commit to vinhtranchau/jodit-repo that referenced this issue Jan 18, 2023
vinhtranchau added a commit to vinhtranchau/jodit-repo that referenced this issue Jan 18, 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

2 participants