Earlier this year, Nextcloud included a web-based text editor that allows parallel text editing for multiple users in real time.
To allow the editing functionality in Nextcloud, you activate a checkbox saying "allowing editing":

QOwnNotes already allows to share documents. What about extending this feature (see following screenshot) with a checkbox "allow editing"?

Seems like a good idea.
Where can I find this checkbox and what exactly does it do? I don't seem to have it on my 16.0.4 NC installation.
Is there an api documentation for it?
Are we talking about Nextcloud text? (like in https://github.com/pbek/QOwnNotes/issues/1226)
Yep, this is Nextcloud Text as in the issue you referenced.
This is an add-on you have to install in NC.
With next version 17 (will be released probably this week) or 18, it will be included in the base installation.
I haven't check API docu yet.
I have Nextcloud Text installed but I can't see the menu item
Hmm, it only works on text-based files - did you try it on .md and .txt ?
Hmm, it only works on text-based files - did you try it on .md and .txt ?
yes, I tried it on my notes... I can edit them with NC Text when left-clicking them in the Files app. But I don't see the checkbox and I have no idea what it might do.
The option to enable editing on a text file is a part of the share menu. You will need to create a shared link before getting the menu to enable editing. Like this:

Ah, thank you @leander091! It used a PUT request to an url like https://server/ocs/v2.php/apps/files_sharing/api/v1/shares/1111?format=json. Can it be used externally too (no cors) and do you know if there is a documentation for it?
Too bad that it seems editing the shared file without logging in causes the current version to be overwritten without creating a new version. So basically it looks like I edited the file myself instead of someone else edited it...
tricky, tricky... :smile_cat:
There now is a new release, could you please test it and report if it works for you?
And could you also please (if you care to) test the image support from https://github.com/pbek/QOwnNotes/issues/1226, there was a regression I now fixed...
@pbek Wow, you are awesome. I successfully tested it. It works as I expected, I have NC 16.04. Thank you so much!!
There's only one bug missing. When I remove the checkbox for sharing, I get this error:

Nice :), it works as expected. Also the image support in #1226 works pretty well :).
I can also confirm the issue when removing the allow editing checkbox.
Thank you for testing! :) I'll take a look at the error, was in introduced with this release?
@pbek Nice, thanks! I don't know if this error has been introduced with this release, sorry...
There now is a new release, could you please test it and report if it works for you?
@pbek It works, nice! I like your super low response time... Good work! I'll definitely make sure my donations will at least stay on the same leve as of now :-)
Thanks a lot! 馃槂
Most helpful comment
There now is a new release, could you please test it and report if it works for you?
And could you also please (if you care to) test the image support from https://github.com/pbek/QOwnNotes/issues/1226, there was a regression I now fixed...