react-native-cn-richtext-editor icon indicating copy to clipboard operation
react-native-cn-richtext-editor copied to clipboard

Text value is wrapped in many paragraphs

Open lenka-mizikova opened this issue 5 years ago • 1 comments

Hi I'm using "react": "16.9.0", "react-native": "0.61.5", "react-native-cn-richtext-editor": "^2.0.0-rc3"

Steps to reproduce:

  • add some text e.g. "Hello world"
  • select the text
  • set it as list (it doesn't metter if <ol> or <ul>)
  • then UNSELECT the list option or change it to use the other type of list (ol -> ul or ul -> ol)
  • repeat a few times
  • the value is wrapped in a new paragraph each time you switch the setting
  • value looks like this: <p><p><p><p><p><p><p><p><p><ol><li>Hello world<br></li></ol></p></p></p></p></p></p></p></p></p>

lenka-mizikova avatar Jul 06 '20 12:07 lenka-mizikova

this package is deprecated. Use react-native-cn-quill instead.

imnapo avatar Mar 01 '21 05:03 imnapo