imnapo / react-native-cn-quill

Quill rich-text editor for react-native
MIT License
185 stars 72 forks source link

On newline, selected formats on toolbar appear to be reset (on typing a new character the selected formats reappear) #93

Open bumpingChris opened 2 years ago

bumpingChris commented 2 years ago

I'm not sure if it is just my implementation, but what I'm observing is this:

  1. I select one or more font formats (e.g. bold, color) - selected format icons are highlighted.
  2. I type in the editor and formats appear on the typed characters correctly, and the selected format icons continue to be correctly highlighted.
  3. I hit enter and create a new line in the editor. The selected format icons now appear to be UNSELECTED.
  4. I type a new character and the previously selected format icons appear to be selected again, and the typed character has the correct format.

Does anyone else experience this? Is there a fix to this?

Thank you for your help.

chriswickham commented 2 years ago

Also experiencing this issue :(