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

Strikethrough button not working properly. #251

Open subashparajuli007 opened 3 years ago

subashparajuli007 commented 3 years ago

when I click on the rich editor and press strikethrough button in the keyboard, and then type any text, clear the text and press the strikethrough button again, the text on the editor should not be strikethrough.but it appears to be strikethrough.

Steps:

  1. Tap on rich editor
  2. Click strikethrough button on keyboard
  3. Type some text in editor
  4. Clear the text
  5. Click strikethrough button on keyboard
  6. Again type some text on editor
  7. The text seen is in strikethrough, but it should not be in strikethrough.

Any solution guys?