-
-
Notifications
You must be signed in to change notification settings - Fork 80
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 and Enter does not work/breaks the table in live preview and source mode #147
Comments
Hi, I have encountered the same issue and I figured a way out afterwards. |
Thank you @ReynoZ. After some trial and error, I found that the conditions you mentioned can actually be relaxed at little, such that as long as there is something below the table (even a blank line), both "Tab" and "Enter" work as intended. I am not sure if this was an issue before the live preview update, but nevertheless this is a buggy behaviour that should be fixed, since more times then not the table being edited is the last part of the note, and remembering to add something below is always a nuisance. |
Same happens with the Linux version, and the workaround that @michaelyang02 talked about also fixes this issue. Desktop:
|
Same behavior here on Windows with Obsidian 0.13.14. Thank you @michaelyang02 for the workaround ! This should be fixed though since a bit annoying. |
Duplicate of #155 which is now resolved. Thank you for the bug report. |
EDIT: disregard, some custom config of mine induced breaking changes. |
Describe the bug
In live preview mode and source mode, after the table is created, pressing tab in a bottom cell whose width is shorter than the one above loses the cursor and nothing happens. When enter is pressed in a bottom cell whose width is less or equal to the longest cell above, the table breaks as the rest of row is moved to the next line (as with the cursor).
To Reproduce
Steps to reproduce the behavior:
a. Type "[tab]" loses the cursor
b. Type "[enter]" moves the two pipes ("|") to the next line
Expected behavior
Tab should go to the next cell, and Enter should go to the next (new) line.
Screenshots
Tab
Enter
Desktop:
The text was updated successfully, but these errors were encountered: