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

Cursor is initially hidden when RichEditorView is tapped #224

Open MHX792 opened 4 years ago

MHX792 commented 4 years ago

Tested on the demo project. Tap into the editor view. The cursor does not show up. Also writing has no effect.

VikasAlgowith commented 4 years ago

I am also facing this issue

YoomamaFTW commented 4 years ago

Are you guys using Storyboard or doing it programmatically? I’m doing the latter. With the latter, in viewDidLoad, use:

additionalSafeAreaInsets.left = 12.0
additionalSafeAreaInsets.right = 12.0

It's a quick fix to the problem. There seems to be a cursor issue everywhere.

pankajjakate commented 4 years ago

Please check this. This works for me. https://github.com/cjwirth/RichEditorView/issues/229