Skip to content

Nested <code> elements #44

Description

@ii888ii

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions