AztecEditor-Android icon indicating copy to clipboard operation
AztecEditor-Android copied to clipboard

Disappearing whitespaces

Open Nikron9 opened this issue 7 years ago • 1 comments

How to disable deleting white spaces whithout pre tag after fromHtml() function ?

Or just disable styling of pre tag?

  1. Writing some text and a lot of break lines

image

  1. After save in preview

image

  1. After restore, in editor again

image

Nikron9 avatar Jun 29 '18 11:06 Nikron9

Was able to reproduce this one, with the following steps:

  1. type title
  2. start typing text
  3. hit enter 3 or 4 times (3 or 4 empty lines)
  4. enter more text on line 5
  5. exit the editor
  6. open the draft again
  7. observe the empty lines were removed completely

cc @mkevins just for reference / history keeping, as this was something I found in the context of testing https://github.com/wordpress-mobile/AztecEditor-Android/pull/813/ but confirmed it was also behaving this way on develop

mzorz avatar May 02 '19 00:05 mzorz