Skip to content

Instantly share code, notes, and snippets.

@tavinus
Last active June 15, 2022 16:22
Show Gist options
  • Save tavinus/8337d4ac7991ae2a9262b8c812df9689 to your computer and use it in GitHub Desktop.
Save tavinus/8337d4ac7991ae2a9262b8c812df9689 to your computer and use it in GitHub Desktop.
Nextcloud Disable Text App and install old Text Editor

Revert Nextcloud's Text Editor

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.

Disable Text App

  • Click on Your icon > Apps
  • Disable the App Text (if enabled)

Install Old App files_texteditor

The old app resides here

Connect to your server via SSH

Go To App Folder

cd <PATH-TO-NEXTCLOUD>/custom-apps

See here on how to set up a custom-apps folder
OR
Just use the default apps folder

Clone Repo if not already done

git clone https://github.com/nextcloud/files_texteditor.git

Checkout respective version

cd files_texteditor
git fetch
git checkout v18.0.1

Change version accordingly

Repair ownership

Here assuming www-data is the Nextcloud user. Change accordingly

cd ..
chown -R www-data:www-data files_texteditor

Done

Now enable the Plain text editor App in Admin Area

@tavinus
Copy link
Author

tavinus commented Oct 28, 2020

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment