I’m building a Nextcloud app in which the user will sometimes need to edit a large text file stored in Nextcloud Files. I would like to make the app open the file with one of the Nextcloud text editors, preferably the default Text editor since I can assume it’s already installed, but I’m open to using the Plain Text Editor if that would work better.
Earlier I asked a related question here but now I realize this is a dev question not a user/features question. Sorry for the similar posts.
Ideally I’d like it to
- Handle large files. These are HLedger journal files which can have a lot f transactions and be pretty big.
- When the user wants to edit a specific transaction I want to open the file and put the cursor on the line for that transaction so they don’t have to search for it.
- I’d like to use an existing Nextcloud editor rather than re-inventing the wheel and building my own text editor.
Can either of these editors be embedded into my app so it would pop up just like when opening the file from the Files app?