Skip to content

Rich Text Editor renders content incorrectly #290

@oreoluwa-bs

Description

@oreoluwa-bs

Describe the bug
The component’s rendered output does not match the expected formatting.

To Reproduce
Steps to reproduce the behavior:

  1. Use the following component code:
<EnrichedTextInput
          ref={ref}
          defaultValue={`<html>
          <h3>Hello</h3>
          <br/>
          <ul>
          <li><h3>Item One</h3></li>
          </ul>
          </html>`}
          onChangeHtml={(e) => {
            setHtml(e.nativeEvent.value);
          }}
          style={{
            width: "100%",
            height: "100%",
            fontSize: 20,
            padding: 10,
          }}
        />

Expected behavior
The output should appear as:
Image

Screenshots
The output appears as:
Image

Device (please complete the following information):

  • Device: iPhone Air
  • OS: iOS 26
  • Version ^0.1.6

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions