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

bullet list issue with strong tags #1192

Open
Arj-Shankar opened this issue Oct 31, 2024 · 1 comment
Open

bullet list issue with strong tags #1192

Arj-Shankar opened this issue Oct 31, 2024 · 1 comment
Labels

Comments

@Arj-Shankar
Copy link

Arj-Shankar commented Oct 31, 2024

Jodit Version: 4.2.5

Browser: Chrome
OS: Mac
Is React App: False
Reproduced on xdsoft.net: True

  1. open the jodit playground
  2. go into the html mode and paste the following
  3. <strong> <ul> <li>aa</li> <li>bb</li> <li>cc</li> <li>dd</li> </ul> </strong>
  4. go back into the wysiwyg editor and select all the contents by using your mouse
  5. The bold button would be highlighted. Press it to remove the formatting.
  6. the list splits up .. and the end contents look like
  7. `



  • aa



  • bb



  • cc



  • dd


`

Workaround - If we do a select-all using "cmd + a" on mac os and then press the bold button, the list doesnt split up.


**Expected behavior:**
The list shouldn't break up when removing the bold formatting.

**Actual behavior:**
The list breaks up when removing the bold formatting.
@Arj-Shankar Arj-Shankar changed the title isues with strong tags and bullet points bullet list issue with strong tags Oct 31, 2024
@xdan
Copy link
Owner

xdan commented Nov 5, 2024

I think it's a bug, not what you're talking about. You can't insert a ul(block) tag into a strong(inline) tag, it seems the editor should just delete strong in that case.

@xdan xdan added the wontfix label Nov 18, 2024
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