I'm trying to add my custom button to the toolbar with:
let pencilItem = RichEditorOptionItem(image: UIImage(named: "pencil"), title: "") { (toolbar) in }
but I do not see my button in the toolbar, although I can press on it, so assigning an image to the button does not work for me. Is that a known issue?
When I add something without image in it:
let pencilItem = RichEditorOptionItem(image: nil, title: "Something") { (toolbar) in }
I'm trying to add my custom button to the toolbar with:
let pencilItem = RichEditorOptionItem(image: UIImage(named: "pencil"), title: "") { (toolbar) in }
but I do not see my button in the toolbar, although I can press on it, so assigning an image to the button does not work for me. Is that a known issue? When I add something without image in it:
let pencilItem = RichEditorOptionItem(image: nil, title: "Something") { (toolbar) in }
the button appears with the string in it