Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting MarkDownTextView.onDidConvertMarkDownItemToView does not work #119

Open
majsty opened this issue May 18, 2022 · 0 comments
Open

Comments

@majsty
Copy link

majsty commented May 18, 2022

Marky-Mark information

  • Marky-Mark version: 10.1.4
  • MarkDownConfiguration: view (View, AttributedString)

Describe the bug

I have set up a MarkDownTextView via xib, and am attempting to set onDidConvertMarkDownItemToView via the didSet of the outlet as so:

    @IBOutlet weak var markDownTextView: MarkDownTextView! {
        didSet {
            self.markDownTextView.onDidConvertMarkDownItemToView = { item, view in
               // doesn't get called
            }
        }
    }

Unfortunately onDidConvertMarkDownItemToView never gets called. Am I doing something wrong? I have made a PR to fix this: #118

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

No branches or pull requests

1 participant