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

<b> tag is not handled by "Bold" toolbar button #37

Closed
stockmind opened this issue Apr 26, 2018 · 0 comments
Closed

<b> tag is not handled by "Bold" toolbar button #37

stockmind opened this issue Apr 26, 2018 · 0 comments

Comments

@stockmind
Copy link

stockmind commented Apr 26, 2018

Jodit Version: 3.1.xxxxx

Code

If i try to remove bold from a text encapsulated between <b> tags, the "B" (bold) button in the toolbar encapsulate all the tag in <strong>.

<b>Text</b>

become:

<strong><b>Text</b></strong>

And if i press the "B" (bold) button again i get:

<b>Text</b>

So it is impossible to remove bold from a text without act manually on the source.

Expected behavior:
the <b> tag should be converted to <strong> or removed when the "B" (bold) button is pressed to remove Bold from a text.

Actual behavior:
<b> is not affected by "B" (bold) toolbar button, it gets encapsulated by <strong> tag.

@xdan xdan closed this as completed in 83ee4dc Apr 29, 2018
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
None yet
Projects
None yet
Development

No branches or pull requests

1 participant