cjwirth / RichEditorView

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

Text selection disappears #157

Open wojczitsu opened 6 years ago

wojczitsu commented 6 years ago

Scenario:

  1. Select text for which we want to change it color
  2. Tap 'text color' button
  3. Using richEditorToolbarChangeTextColor I push new VC with color selection
  4. Color is selected, then we go back to initial VC with editor
  5. In viewDidAppear I try to setTextColor(color) Effect: text selection disappeared, in effect text color has been set for new text (which will be tapped in) not one I selected.

Is there any way to make it work?