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

Selection by triple click removes close tag + open tag of next paragraph #1101

Closed
ZimnitskiYury opened this issue Apr 1, 2024 · 0 comments
Closed

Comments

@ZimnitskiYury
Copy link

ZimnitskiYury commented Apr 1, 2024

Jodit Version: 4.0.18

Browser: Chrome/IE/Safary/FF
OS: Windows/Mac/Linux
Is React App: True

Code:

  1. in source mode paste this HTML
<p style="font-size: 16.5pt; margin: 0">Body Subtitle</p>
<p style="font-size: 10pt; line-height: normal; margin: 7px 0 0 0;">To modify this template, place it into your Outlook editor.</p>
  1. change mode back
  2. select Body Subtitle byt triple click
  3. delete selection

Expected behavior:
paragraph <p style="font-size: 10pt; line-height: normal; margin: 7px 0 0 0;">To modify this template, place it into your Outlook editor.</p> saves own styles. paragraph Body Subtitle will be removed properly

Actual behavior:
after all steps I get this result:

<p style="font-size: 16.5pt; margin: 0">To modify this template, place it into your Outlook editor.</p>

reproducible on jodit playground

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants