Unfortunatelly the new Nextcloud Text App is not yet usable in production because it does not support plain text editing very well and breaks the exibition and editing of many plain text formats. It may also cause data loss when trying to format some file types (this may not be the case anymore, check the devs).
Seems like the main issue is to align the Colaboration with the rich/raw modes. But there are other problems as well.
In any case, we will just disable the current Text app and manually install the old App.
- Click on
Your icon
>Apps
- Disable the App
Text
(if enabled)
The old app resides here
cd <PATH-TO-NEXTCLOUD>/custom-apps
See here on how to set up a custom-apps folder
OR
Just use the default apps folder
git clone https://github.com/nextcloud/files_texteditor.git
cd files_texteditor
git fetch
git checkout v18.0.1
Change version accordingly
Here assuming www-data is the Nextcloud user. Change accordingly
cd ..
chown -R www-data:www-data files_texteditor
Now enable the Plain text editor
App in Admin Area
Nowadays I don't do this anymore.
Collaborative text editor is fixed and now I keep it running as default.
I just install the old
files_texteditor
from the app store as an option (can open from ... or right click).