tgrosinger / advanced-tables-obsidian

Improved table navigation, formatting, and manipulation in Obsidian.md
GNU General Public License v3.0
2.14k stars 80 forks source link

Tab and Enter do not create new columns and rows #311

Closed L0verde closed 11 months ago

L0verde commented 11 months ago

Describe the bug Version 0.20.0 Tab and Enter do not create new columns and new rows respectively.

To Reproduce Steps to reproduce the behavior:

  1. Open Settings > Third-party plugin Make sure Safe mode is off
  2. Click Browse community plugins
  3. Search for "Advanced Tables" -> Click Install
  4. Close the community plugins window and activate plugin
  5. Close Obsidian then right click on the app to "quit"
  6. Once reopened create a new note add a title then enter | test then press either tab or enter and it just tabs the | test over

The advanced tables UI recognizes the | test as a table and lets me use it to edit the table but that's not really a solution I want to have to rely on.

Expected behavior Hotkey Action
Tab Next Cell
Shift + Tab Previous Cell
Enter Next Row

Screenshots

image image image

Desktop (please complete the following information):

Additional context I tried turning all other community plug-ins off to fix the issue but that didn't help.

L0verde commented 11 months ago

Live preview was on which isn't supported! Everything is working fine now.

santhoshsram commented 10 months ago

@MockingMockingBird I believe tab and enter used to work with live preview on in pre v1.5 of releases of Obsidian. v1.5 adds a new table editor natively which also has tab actions. Advanced table plugin's auto-formatting (on tab and enter) stopped working for me (in live mode) right after I updated to Obsidian 1.5.3. It still works as expected with live mode off.

Suspecting if the behavior reported here is related to the table editor in Obsidian 1.5. JFYI.

ghost commented 10 months ago

I changed my mode live preview to source mode still same.

inkyunp commented 8 months ago

I had same problem. I solved it by turn off 'Show Indentation Guides' and live preview.

OS: Mac OS Sonoma 14.2.1 Obsidian Version: 1.5.8 Advanced Tables Version: 0.21.0

santhoshsram commented 8 months ago

Just disabling live preview seems sufficient to enable the tab and enter key behavior for Advanced Tables. Enabling or disabling Show Indentation Guides does not seem to have any effect on the behavior of these two keys. With live preview enabled tab and enter keys do not automatically format the table as they used to previously.

OS: MacOS Sonoma 14.4 Obsidian Version: 1.5.11 Advanced Tables Version: 0.21.0

wrsz01 commented 7 months ago

Rolling back to version v0.19.1 can solve this problem

santhoshsram commented 7 months ago

Rolling back to version v0.19.1 can solve this problem

Is there a way to rollback from the Obsidian app or do I have update the plugin folder manually?

yunze-wang commented 7 months ago

Any solution for this feature? Like we can use another Hotkey for this plugin, use Shift+ENTER/TAB instead? this plugin is better than native embeded table function.

Barnette-ao commented 2 months ago

I had same problem. I solved it by turn off 'Show Indentation Guides' and live preview.

OS: Mac OS Sonoma 14.2.1 Obsidian Version: 1.5.8 Advanced Tables Version: 0.21.0

this operation has solved the problem in my computer

Obsidian Version: 1.6.7 Advanced Tables Version:0.22.0 OS: Windows 11

RainFung commented 3 weeks ago

The issue has not been fixed yet