lnreader icon indicating copy to clipboard operation
lnreader copied to clipboard

JS/CSS code disappears if saved without editing it

Open Palloxin opened this issue 2 years ago • 0 comments

Steps to reproduce

  1. Open CSS/JS editor, type something in it and save;
  2. Exit Reader section and re-enter it
  3. Open CSS/JS editor and save the text without editing it in any way.

https://github.com/LNReader/lnreader/assets/75091899/fd7c48d1-393d-4590-89af-d1156dd5cd0a

Expected behavior

The text doesnt get wiped out

Actual behavior

The text gets wiped out

LNReader version

1.1.18

Android version

A8

Device

huawei p8 lite 2017

Other details

Especially annoying for users who don't save their code in an external app.

Acknowledgements

  • [X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
  • [X] I have written a short but informative title.
  • [X] If this is an issue with a source, I should be opening an issue in the sources repository.
  • [X] I have updated the app to version 1.1.18.
  • [X] I will fill out all of the requested information in this form.

Palloxin avatar Jan 17 '24 08:01 Palloxin