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

Unable to add line height for Html pasted content. #830

Closed
Rathikala opened this issue Apr 22, 2022 · 0 comments
Closed

Unable to add line height for Html pasted content. #830

Rathikala opened this issue Apr 22, 2022 · 0 comments
Labels

Comments

@Rathikala
Copy link

Rathikala commented Apr 22, 2022

Jodit Version: 3.17.1

Browser: Chrome
OS: Windows
Is React App: True

HTML pasted Code
<p>One&nbsp;<em><span style="font-family: Verdana, Geneva, sans-serif; font-size: 18px; color: rgb(204, 0, 0);">{Two.Three}</span> </em>four five six seven eight {Nine.Ten} One {Two.Three} Four Five Six Seven Eight <strong>{Nine.Ten}.</strong></p>

// A *self-contained* demonstration of the problem follows...
Pasted this HTML code with (keep as html). Couldn't able to set line height for this paragraph. Getting error in console.

Expected behavior: Should be able to set line height for this html.

Actual behavior: Getting Error as -> "Uncaught TypeError: Cannot read properties of null (reading 'nextSibling')"

Kindly refer the attached image and video, "LineHeightIssue"

LineHeightIssue.mp4

LineHeightIssue

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