Skip to content

Android codeBlock borderRadius is applied incorrectly #249

@kacperzolkiewski

Description

@kacperzolkiewski

Describe the bug
When applying the code block style in the text editor, the border radius is incorrectly applied to every individual paragraph. Instead, it should only apply the top border radius to the first paragraph and the bottom border radius to the last paragraph within the code block.

To Reproduce
Steps to reproduce the behavior:

  1. Open the Example app.
  2. Enter multiple lines of text in the text editor.
  3. Apply the code block style to the text.
  4. Observe the styling applied to each paragraph.

Expected behavior
Only the first paragraph inside the code block should have the top border radius, and only the last paragraph should have the bottom border radius. Intermediate paragraphs should not receive any border radius.

Screenshots
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions