Skip to content

Input html string in editorView #10

@ashish7-iOS

Description

@ashish7-iOS

Steps perform:

  1. Initialize the html string
    let htmlString = "

    rich text test - ios 101
    \nbold text
    \n\n
    <span style="color:#1abc9c">italian text
    \n\n
    <span style="color:#e74c3c">underline
    \n"

  2. call insertHtml function
    editorView.insertHTML(htmlString, completion: nil)

Result:
No output
Simulator Screen Shot - iPhone 13 Pro - 2022-01-04 at 12 09 22
.

Can anyone please help me out here, what is wrong in my code?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions