cms_pico icon indicating copy to clipboard operation
cms_pico copied to clipboard

App is not compatible with Nextcloud's "Text" app

Open zerknorscht opened this issue 4 years ago • 10 comments

As Text is the default Editor for markdown files in Nextcloud 18, no other Editor is working out of the Box and the Text App is breaking the fomatting of the yaml headers, wich leads to broken pages I cannot figure out, how to use cms_pico without editing it through an external editor. Maybe I am missing something here, but isn't the point of having a cms integration in NC being able to edit it from WITHIN Nextcloud?

I cannot get it to work right for me and I think it is a pretty big Issue.... The real Problem seems to be about the Text-App, not about pico, but maybe some devs from both apps could get in touch wich each other (if it's not being done allready) I think I saw an Issue about this in the Text App, but from their perspective it seems to be a minor issue... from the usability of cms_pico however it seems to be rather major, right?

zerknorscht avatar Mar 06 '20 09:03 zerknorscht

This is indeed an issue with Nextcloud's Text app, not with Pico CMS for Nextcloud. The issue is known. See https://github.com/nextcloud/text/issues/593 and https://github.com/nextcloud/text/issues/145, also see related https://github.com/nextcloud/text/issues/123, https://github.com/nextcloud/text/issues/439 and https://github.com/nextcloud/text/issues/2218.

PhrozenByte avatar Mar 06 '20 12:03 PhrozenByte

Just a bump that the title might benefit from being more general. This issue affects all versions of Nextcloud from 18-21.0.2 that have the new version of the text app, not just NC 18

Subnet-Masked avatar May 27 '21 17:05 Subnet-Masked

I agree. In the meantime, is there a way you could associate Pico's files to open with Plain Text Editor or a Markdown editor that doesn't break things in the meantime? We still have this issue on Nextcloud 21.0.2.

nooblag avatar Jun 29 '21 08:06 nooblag

You can install Nextcloud's Markdown editor to associate .md files with this editor instead, see https://github.com/icewind1991/files_markdown#behaviors on how to open these files with Markdown editor instead. The easiest solution is to disable Nextcloud's Text app.

PhrozenByte avatar Jun 29 '21 09:06 PhrozenByte

Thanks for that. Yes, we could disable the Text app, but we use that as our users seem to prefer that rather than the Markdown app because of the confusing preview interface (your content is shown twice). I think in the absence of a fix either there or here, we'll probably have to resort to the "right click, open with plain text editor" workaround, which isn't the best, but it will do.

nooblag avatar Jun 29 '21 13:06 nooblag

Unfortunately we can't do anything about this. I'm not sure whether this is caused by how Nextcloud handles file associations, or whether it is caused by the Text app. You might wanna open a feature request on Nextcloud's server repo to implement a "default app" chooser or something?

PhrozenByte avatar Jun 29 '21 13:06 PhrozenByte

I think this was solved few months ago when https://github.com/nextcloud/text/issues/145 was fixed.

asereq avatar May 07 '23 00:05 asereq