Skip to content
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

Conflict with Obsidian's new Table View #50

Open
acook opened this issue Dec 18, 2023 · 5 comments
Open

Conflict with Obsidian's new Table View #50

acook opened this issue Dec 18, 2023 · 5 comments

Comments

@acook
Copy link

acook commented Dec 18, 2023

Causes tables to expand wildly in every direction and makes them unusable in the pre-release versions, and probably will continue to when it becomes official.

It does seem like development has discontinued but this plugin has been enabled pretty much from day 1 that I started using Obsidian. So either way, thanks for almost a year of making my Obsidian experience better!

@ces3001
Copy link

ces3001 commented Dec 27, 2023

I can confirm this bug in Obsidian v1.5.3 macOS.
Hopefully somebody can look into it if developer isn’t maintaining! I agree it’s a game-changer plug-in! Thank you deathau!

@acook
Copy link
Author

acook commented Dec 27, 2023

There's another plugin called "Typewriter Mode" and it doesn't destroy tables, but it does jump around weirdly in tables. So it doesn't really solve the problem either, but it's worth trying out if you just do some minor table editing.

@mouawadma
Copy link

Also confirm that this plugin is an issue with the new tables in Obsidian

@rorar
Copy link

rorar commented Jan 15, 2024

Here's a quick fix:

table td .cm-content.cm-lineWrapping {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

Create a file called tw-table-fix.css and add add it to the folder ".obsidian\snippets" inside your vault and activate the script under Settings > Appearance (scroll to the bottom of the settings page to do so)

@ursa-minor-13
Copy link

Thanks for the quick fix!

For me it fixed only the table body (Obsidian v1.5.10).
In order to make it work in the header, you may also match the th :

table th .cm-content.cm-lineWrapping,
table td .cm-content.cm-lineWrapping {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants