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

Nested <code> elements #44

Open
ii888ii opened this issue Dec 5, 2024 · 1 comment
Open

Nested <code> elements #44

ii888ii opened this issue Dec 5, 2024 · 1 comment
Labels
good first issue Good for newcomers

Comments

@ii888ii
Copy link

ii888ii commented Dec 5, 2024

Steps to reproduce:

  1. Type "A B C D E X a b c d e" in a paragraph.
  2. Select "X" and click on InlineCode button (with "<>" icon)
  3. Select "E X a" and click on InlineCode button
  4. Select "D E X a b" and click on InlineCode button

And so on...

Expected behavior:

One <code> element instead of nested <code> elements

Screenshots:

Device, Browser, OS: Firefox and Chrome on Windows

Editor.js version: 2.30.7

@neSpecc
Copy link
Contributor

neSpecc commented Dec 5, 2024

It could be resolved by using pixels instead "ems" in styles

@neSpecc neSpecc added the good first issue Good for newcomers label Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants