I have the issue that the markdown editor does not seem to work for me. I’m on the latest 17.0.0 with markdown editor version 2.1.0.
When I open or create an .md file I just get the normal view (from the Text app).
I just discovered something myself and maybe we have the same issue. Could you please check if you have the “Plain text editor” installed and enabled on your server? If you don’t find it in the web GUI and search for it on the filesystem, you would have to look out for “files_texteditor” in the folder nextcloud/apps/
Thanks for checking.
If you have the same issue, I can show you a solution to your problem.
Okay, thanks for checking. Meanwhile I found out the root cause. The app is no longer available in the NC app store. Therefore I opened an issue in the app’s repository:
While there is no way (or at least I couldn’t find any) to install the app from the GUI, there is only a manual way to get the app working again.
You can perform the following steps. Please make sure to change directory into the correct folder. I just used a placeholder. Furthermore make sure to use the correct user (web server user like “www-data” or “http”) for the chown command.
Easiest way is to run these commands as user root. If you don’t want to or can’t use sudo before these commands (sudo cd ...).
tar -xzf v17.0.0.tar.gz
mv files_texteditor-17.0.0 files_texteditor
find files_texteditor/ -type f -print0 | xargs -0 chmod 640
find files_texteditor/ -type d -print0 | xargs -0 chmod 750
chown -R <webserver user>:<webserver user> files_texteditor
Have installed the app via the manual steps and now I was able to enable the app via GUI. Unfortunately my original issue remains. Does that mean we are now in the situation you mentioned, you had a work-around for?
Does the old text editor (above) still work with the mermaid.js markup? I use that all the time and it’s annoying to find the default has been replaced with this stupid wysiwyg editor which doesn’t work with all the old features.
Edit: It looks like after following the above procedure for manually adding the plain text editor, that still works with the mermaid.js code.
I understand that the core developers may have decided to move away from a MarkDown editor, but I don’t understand why the old version is no longer available. Is there anyone working on a fix/fork of the old app?