lnreader icon indicating copy to clipboard operation
lnreader copied to clipboard

[Feature request] Chapter content editor

Open Palloxin opened this issue 1 year ago • 3 comments

Describe your suggested feature

A way to edit chapters content while reading. -Sometimes novels are so messy i want to manually correct them while i read(especially MTLs that mix-up pronouns, normal novel with typos, grammar mistakes etc.); then export to epub and share with the community. Some website also accept re-update requests.

It should look like this:

https://github.com/user-attachments/assets/d20746d3-bd9b-4e12-a5fe-f6110db582dc

I achieved it by using this Js

document.documentElement.contentEditable = true; 

of course, it doesnt save the content.

How to implement it UI wise? A button to enter Edit mode, find the text, edit, and save button. Once Save button has been pressed switch to Reading mode again. Very fast and clean.

Other details

I currently edit imported epubs by simply going to Android folder, lnreader, novels, local, and here it is the chapter. However this method is evidently cumbersome.

Currently there are no epub editors for android that can modify chapter content.

LNReader would become the first, potentially making users improve badly formatted stuff while reaading; then export as epub once finished and share.

I know because I mainly read epubs given from the community.. they can be messy too.

EDIT: see my comment below

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 2.0.0.
  • [X] I will fill out all of the requested information in this form.

Palloxin avatar Nov 19 '24 12:11 Palloxin

A low maintenance alternative would be using third party Text editors:

https://github.com/user-attachments/assets/222e2e7d-cbcb-412e-9891-1a7386c3c6b7

by just giving the trigger of the file path (or.something like that) since chapters are in the Android folder like in the video.

Frankly it's more comfortable the first propose, but this second one can do too.

Palloxin avatar Nov 19 '24 13:11 Palloxin

Dude where did you get Js code??

yuvsama001 avatar Jan 03 '25 04:01 yuvsama001

Hey can you fix the WTR-LAB extension I can't open the novel

astralore19 avatar Jul 04 '25 07:07 astralore19