-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tab key doesn't work, no way to indent. #601
Comments
This probably would also improve compatibility with apps like iA Writer on iOS. Actually, NC Text and iA Writer treat lists with indentations differently:
|
Paragraph indentation is nothing that can be represented in markdown as trailing whitespace would just be removed. For code blocks we should fix this. 👍
This is a different topic, please open a separate issue to discuss something like this. In general I would like to have some more information on how other markdown editors handle this, as two spaces are definitely fine according to the commonmark standard. |
This is a problem with bullet points, too. You have to backspace to make the bullets on one line, press enter again, then hit tab. |
@juliushaertl Ahh, good catch. I figured out the use case that was causing it. It was happening for me in every file because all of my files I was trying to change were formatted the same way. Upload a file into Nextcloud of
To fix it, you have to backspace from "Bullet 1" up to the previous line and press enter. This makes since because there is actually an empty line there, but Text (or the editor, rather) isn't giving any indication the blank line is there. edit |
Might be, could you check at https://tiptap.scrumpy.io/ if you can reproduce it there? |
Sure thing, and yes, to an extent. Since I can't start from raw MD I faked it by inserting a blank line and backspacing. You can see in the GIF. Process was:
|
is this something that needs to be implemented from scratch or is indenting supported by the underlying library and it's just a matter of calling the right function ? @juliushaertl |
I just tested this on latest Text in Nextcloud 24 and the bug has been fixed by the list item improvements by @max-nextcloud 🎉 |
Looks like this bug is back in version 27.0.1 - just upgraded and the tab key no longer indents bullet points are unordered lists. |
In Version 27.0.2, too (Docker nextcloud:27.0.2-apache) It is working in Collectives and Notes App?! |
Should be fixed by #4735 with the next round of releases |
This bug is also back in version 30.0.4 - the tab key no longer indents bullet points at unordered lists |
Just tested and could not reproduce. See video below. Could you provide step by step instructions how to reproduce? Bildschirmaufzeichnung.vom.2025-01-15.10-05-39.mp4 |
It looks like the tab key changes the input focus to the next widget I tested this with Firefox 128.6.0esr and Chrome 132.0.6834.83. |
Describe the bug
Can't indent code snippets or paragraphs in Text app.
To Reproduce
Hit tab.
Expected behavior
Add a tab character to the current line.
Client details:
Text app version: 2.0.0
Operating system: Ubuntu 18.04
Web server: Apache (from Docker official image)
Database: Sqlite3
PHP version: 7.3.13
Nextcloud version: 18.0.0 stable
The text was updated successfully, but these errors were encountered: