Skip to content

MarkupEditorView problem #47

@mediakon

Description

@mediakon

Hello,

I have a problem with run Yours MarkupEditor

  1. I added Package from GitHub link end add to my project
  2. add yours example code
import SwiftUI
import MarkupEditor

struct ContentView: View {
    @State private var demoHtml: String = "<h1>Hello World</h1>"
       
       var body: some View {
           MarkupEditorView(html: $demoHtml)
       }
}

and I get error

Cannot find 'MarkupEditorView' in scope

when I open I Package Dependencies tree with MarkupEditor 0.3.3 I does not see MarkupEditorView file. This is correct?

Zrzut ekranu 2022-08-31 o 13 44 10

Zrzut ekranu 2022-08-31 o 13 46 46

Thanks for help,
Piotr

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions