cjwirth / RichEditorView

RichEditorView is a simple, modular, drop-in UIView subclass for Rich Text Editing.
BSD 3-Clause "New" or "Revised" License
1.89k stars 445 forks source link

Added done option on toolbar so that we can remove the keyboard directly #257

Closed RaviRanjan-11 closed 1 year ago

RaviRanjan-11 commented 2 years ago

Hi There was an small issue for removing keyboard once we are done with editing we have to tap on another field than only after we can remove the Keyboard

I have added just 2 line of code and given an option for keyboard dismiss on done button

RaviRanjan-11 commented 2 years ago

func richEditorToolbarDone(_ toolbar: RichEditorToolbar) { self.view.resignFirstResponder() }